Where are solar cells used?
All of the above
Solar cells are used in artificial satellites, street lights in remote villages and space exploration rovers. In general solar cells are used in remote isolated places (which do not have a reliable electric grid) and in all most all space missions where solar energy is the only way to power those machines indefinitely.
Assemblies of photovoltaic cells are used to make solar modules which generate electrical power from sunlight.