What is the primary function of a battery?
A) To store and provide electrical energy through chemical reactions
B) To convert electrical energy into mechanical motion
C) To amplify electronic signals for communication
D) To regulate and stabilize voltage in an electrical circuit