Photons can be created any time charged particles move thereby creating electromagnetic waves. Blackbody radiation, spontaneous emission, and radioactive decay are three examples of processes that emit photons.