Energy from the Sun can be gathered by collectors and used to heat water or to heat a building.