An interactive animation demonstrating the energy gained and lost by an electron moving between atomic shells. Energy is gained or lost during the transition.
View the discussion thread.