The battery has 3 main functions in electric system.
It is a source of electric food for start of the engine.
The battery plays a voltage stabilizer role in electric system.
The battery can provide food when electric loading exceeds generator productivity for a limited period.