Batteries are generally made of lead plates immersed in sulfuric acid and water. As the battery loses/uses up power, the sulfuric acid is reduced to water. Charging your car's batteries means that you're restoring the composition back to its original sulfuric acid and water electrolyte.