it confines quarks into hadron particles such as the proton and neutron. ... On a larger scale (about 1 to 3 fm), it is the force (carried by mesons) that binds protons and neutrons (nucleons) together to form the nucleus of an atom.
The energy of a photon emitted when the electron moves from the 3rd orbital to the 2nd orbital is exactly same as the energy of a photon absorbed when the electron moves from the 2nd orbital to the 3rd orbital