Where solar power needs to be used when the sun does not shine, it is usually stored in batteries. These are the same batteries used for other applications, and could be based on lead-acid, lithium-ion, etc. However, only some select types of batteries (deep discharge/cycle) within the available range are optimal for solar power plants owing to the specific aspects of solar power generation and use.