UNDERSTANDING BMS IN LITHIUM BATTERIES