A photon is the basic unit of light and is the smallest discrete amount (quantum) of electromagnetic radiation. Photons are always in motion, have zero mass, and in empty space move at the speed of light.
Because they can move at the speed of light, time has no effect upon them. A photon takes 8 minutes to travel from the sun to the Earth. Eight minutes passes for us on Earth but no time passes for the photon!