if some light is absorbed by an electron, what happens to the electron?

It has more energy.