This is not an easy to task to do properly, given it's a fairly new implementation in the energy sector. During the day heat from the sun warms oil in glass tubes which later turns turbines. Excess heat is stored using molten salt during the day, and utilized at night when there is no sun.