how is x rays produced?
X-rays are produced due to sudden deceleration of fast-moving electrons when they collide and interact with the target anode. In this process of deceleration, more than 99% of the electron energy is converted into heat and less than 1% of energy is converted into x-rays.