Solar cells (or photocells) turn light energy from the Sun directly into direct current electricity. Solar cells are very useful where the light intensity is highest. Solar cells are also useful where low amounts of power are needed in place of batteries. The robust nature of solar panels can be exploited to reduce the cost of providing electricity.
The use of solar power in remote locations removes the need to lay electricity cables to the light, which is another benefit to the environment.