We know that solar cells work when a photon hits the n-type the photon's energy drives free the electrons in the n-type to generate a current. But we also know that when a photon hits the atoms it makes the electrons excited. So why doesn't the photon make the electron excited and makes the electron drive out?
OR is it like this that in solar cells the photon gives so much energy to the electron that when it goes to a higher energy state and changes shell it gets out of the atom shells and becomes a free electron carrier?
Thanks,
Bhavesh