Solar panels get energy from the sun for people to use. There are two types of solar panels, those that collect heat (thermal), and those that produce electricity (photovoltaic). Heat from solar panels is often used for space heating and for hot water.[1]
Solar panels collect renewable energy. In the 20th century, some used the heat of the sun to make steam for a steam engine to turn a generator. Nowadays producing electricity from the sun's light is cheaper. This is a solid state way of producing electricity, meaning that it has no moving parts.
Home solar panels are often mounted on rooftops. Commercial or industrial installations are often on trackers mounted on the ground. The trackers point the panel towards the sun as the sun moves across the sky. Photovoltaic panels are also commonly used in outer space, where they are one of the few power sources available.