They are used to power ATMs, hospital and laboratory equipment, traffic lights, etc. Batteries, therefore are a very important component of inverters. The DC is drawn from the batteries and converted to AC by the inverter for use in appliances. Conversely, the batteries are charged by being plugged to power source.