A battery serves as a power source for various electrical devices like cell phones, flashlights, and electric cars. It comprises one or more electrochemical cells with external connections. During discharge, the electrode materials undergo irreversible modifications, leading to the classification of batteries into two main types