A solar cell, or photovoltaic cell, is an electrical device that converts the energy of light(sun) directly into electricity by the photovoltaic effect. It is a form of photoelectric cell, defined as a device whose electrical characteristics, such as current, voltage, or resistance, vary when exposed to light. Solar cells are the building blocks of photovoltaic modules, otherwise known as solar panels.
Photovoltaics were initially, and still are, used to power small and medium-sized applications, from the calculator powered by a single solar cell to off-grid homes powered by a photovoltaic array. They are an important and relatively inexpensive source of electrical energy where grid power is inconvenient, unreasonably expensive to connect, or simply unavailable.
Hence, Solar cells are used for providing a less amount of electricity to electrical devices.