The sun can be used to generate thermal or electrical energy. Thermal energy is created through solar power using mirrors to concentrate the sun’s heat onto a liquid. This liquid is pumped throughout a building, facility or swimming pool, in order to heat the area.