Gamma rays are produced in the disintegration of radioactive atomic nuclei and in the decay of certain subatomic particles.
Gamma radiation is emitted by excited nuclei or other processes involving subatomic particles;
it often accompanies alpha or beta radiation, as a nucleus emitting those particles may be left in an excited (higher-energy) state.