Understanding Energy Storage Systems and Their Efficiency