Storage deals with all the details of storing energy until the time that it is needed.
Any kind of storage/retrieval mechanism has losses, the lower those losses the better the efficiency.