How is electrical energy used?