Concept: X-rays and gamma rays are both electromagnetic radiation but differ in their origin.Explanation:1. X-rays are produced when high-energy electrons collide with a metal target.2. Gamma rays are produced during radioactive decay or nuclear reactions.3. Therefore, their primary difference lies in how they are generated.Answer: D. mode of production.