When is this spectrum created?

If the absorption spectrum for an element is compared to the emission spectrum which of the statements is correct?

Which term means electrons are in a position with the least amount of energy?

Which electron movement will release the most energy?

 Sunlight has certain frequencies missing from the full continuous spectrum shown by white light - what is the reason for these missing frequencies?