I've heard that photons have a mass. If a photon were to be stationary, would it have mass? If not, then where does the mass of a photon come from? I know that if an object has stationary mass (forgive me if this isn't the correct term), then it takes an infinite amount of energy in order to achieve light speed. I suppose that the mass of the photon is actually energy which is acquired somehow?