Gamma rays are a form of electromagnetic radiation with the highest energy and shortest wavelength. They are produced by radioactive atoms and in nuclear reactions. Gamma rays have the ability to penetrate most materials, making them useful in various medical applications, including cancer treatment.