In small, modern batteries, the fluid is immobilized in a kind of paste and everything is put in a sealed case. Because of this case, nothing can spill out of the battery. Larger batteries, such as car batteries, still have liquid inside and are not sealed. A kind of battery that uses molten salts as the electrolyte was invented during World War II.