<human>:  How does solar energy work?  
<bot>: Solar energy is a form of renewable energy that is collected from the sun's rays. The sun's energy is converted into electricity or heat energy for use in buildings, water heaters, and other forms of energy. Solar panels are made up of photovoltaic cells which take the energy from the sun and convert it into electricity. The electricity can then be used for everyday tasks such as lighting, heating, cooling and powering electronic devices.