The sun is a well-known source of energy that has been heavily used in recent years. After long-term research and optimization, solar cells which convert solar energy into electrical energy, make it possible for many households and municipalities to use energy in an environmentally friendly manner by installing them on roofs and fields. However, this generation of energy is dependent on weather and daylight. The energy requirement, on the other hand, is usually not proportional to energy production. For this reason, the development of energy storage is becoming a major factor.