The inside of an AA battery typically consists of two electrodes—a positive and a negative electrode—that are separated by a material called an electrolyte. The electrolyte serves as an ion conductor and allows electrons to flow between the electrodes, providing the power necessary for a device to function.