How xrays produced?
Xrays are produced by stopping fast moving electrons by allowing
it to bombard on a target. The kinetic energy 1/2 m v2 is changed
into hv, here h is Planck's constant and v is the frequency of
Xradiation
Energy can neither be created nor be destroyed but could be
changed from one form to the other
So electrostatic potential energy ----> kinetic energy
------> photon energy
Well, actually no. X-rays are actually powerful penetrating
waves that can seep into anything soft, such as skin, and be
absorbed by hard things, such as bones or metal. Though, if the
doctor or dentist, etc. didn't put a large thing of lead around
your neck, the X-rays would eventually kill you.