Question: how are gamma and x rays produced?
Answer: The key difference between gamma rays and X-rays is how they are produced. Gamma rays originate from the settling process of an excited nucleus of a radionuclide after it undergoes radioactive decay whereas X-rays are produced when electrons strike a target or when electrons rearrange within an atom.