how electrical energy is used?