Creation
Photons can be produced in a variety of ways, including emission from electrons as they change energy states or orbitals. They can also be created by nuclear transitions, particle-antiparticle annihilation or any fluctuations in an electromagnetic field.
In a vacuum, photons move at the speed of light c, defined equal to 299,792,458 m/s (this is a definition and hence does not suffer any experimental uncertainty), or about 3x108 m/s. The dispersion relation is linear and the constant of proportionality is Planck's constant h, yielding the useful relations for kinematic studies, E = h ν (with E the photon energy and ν the frequency of the mode, or photon frequency) and p = h ν / c (p the momentum). Photons are believed to be fundamental particles. Their lifetime is infinite. Their spin is 1 and they are therefore bosons. However since they travel at the speed of light, they have only two spin projections, since the zero projection requires a frame where the photon is still. Such a frame does not exist according to the theory of relativity. They have zero invariant mass but a definite finite energy at the speed of light. Even so, the theory of general relativity states that they are affected by gravity, and this is confirmed by observation.
In Mediums
In a material, they couple to the excitations of the media and behave differently. For instance when they couple to phonons or excitons they give rise to polaritons. Their dispersion departs from the straight line and they acquire an effective mass. Therefore their speed gets lower than the speed of light.
See also
Links