Anything with a substructure has excited states. Molecules, atoms, nuclei all can absorb photons which causes them to make a transition to an excited state. Conversely, when they jump from an excited state to a lower energy state, energy is emitted in the form of photons. Can proton and neutrons (having electrically charged quarks inside them) have such excited states?