Answer:
There are two possible answers:
- it can move out to a higher electron shell
- it can stay in its original shell
In fact, sunlight consists of photons. When sunlight hits an electron, the electron can absorbs a photon, so it gains energy: as a result, the electron can move to a higher electron shell, which corresponds to a high energy level in the atom, if the energy given by the photon is at least equal to the energy difference between the two levels. However, if the photon energy is not large enough, the electron will stay in the same shell.