How does an electron change energy levels?
The electron needs to either absorb or release energy to change energy levels.
Changing to a higher energy level (excited state): The electron needs to absorb a specific amount of energy to jump to a higher energy level.
Changing to a lower energy level (eg. falling back to the ground state): When an electron falls to a lower energy level, it releases a specific amount of energy.