For hydrogen-like atom electron transition from n=3 to n=5, it would be classified as an absorption of energy. For hydrogen-like atom electron transition from n=3 to n=2, it would be classified as an emission of energy. Hope this helps. Have a nice day.