What is the energy conversion that happens inside a battery?

a
Heat Energy to Potential Energy
b
Chemical Energy to Electrical Energy
c
Electrical Energy to Kinetic Energy
d
Kinetic Energy to Potential Energy

b. Chemical Energy to Electrical Energy