WHAT IS A BMS IN BATTERIES DEFINITION FUNCTIONS AND APPLICATIONS