There are four main types of batteries used to store solar energy — lead-acid, lithium-ion, flow batteries, and nickel cadmium.