How do photons work?

No.12179665 ViewReplyOriginalReport
How much do you need to accelerate an electron for a single photon to be created? And what determines that photon's energy?

Does the creation of the photon bleed energy from the electron, slowing it down?