From the book titled The Concepts of Modern Physics by the author Arthur Beiser, a paragraph from the chapter Atomic Structure says-
"The experiment shows that atoms exhibit line spectra in both emission and absorption."
But it also says in the beginning of the text that:
"a photon is emitted only when electron jumps from higher energy to lower energy."
We know when atoms jumps to lower energy it emits energy. So I find the two sentences contradictory. Anybody please explain it.