As Alen said that is not something that can just be explained in a tl;dr sense. You will only understand it if you grasp the full material and study it, quick explanations do not do these aspects of science justice.
Just remember that they're all energy, just in different forms and chemical structure.