What does a line spectrum tell us about the structure of an atom?

The electrons in ground state that is lowest energy state absorbs energy and move into excited state where they are unable to stay for long periods so loses the energy and come back to the ground state. The emitted radiation appear as line in line spectrum.