Electric power is the electrical energy used per second.
The unit of electric power is [W], which is read as "watt".

P (electric power) [W] = I (current) [A] × V (voltage) [V]

Electric energy is the total amount of electrical energy consumed.
The unit of electric energy is [kWh], which is read as "kilowatt hour".

Electric energy [kWh] = electric power [kW] × time [h]

● Point
Electric energy can be expressed in [J] (joules).

Electric energy [J] = electric power [W] × time [s]