what is the unit of electrical power
And yet, power just means energy flow per unit time. We all know the Watt is a unit of power consumption and have an idea how quickly a 1500 Watt kettle boils water. The unit of energy is the Joule - a Watt is just a flow of one Joule per second. The other popular unit of power is the horsepower. The conversion is that one horsepower = 756 Watts. A 100-HP car would be able to turn a 75,600 - Watt electrical generator, or 75.6 kilowatts. So anybody who does talk about energy, rarely speaks in Joules.
Eg, a light bulb consumes one hundred watts of electrical power for one hour. It is commonly used in the form of: Wh (watt-hours), kWh (Kilowatt-hour) which is 1,000 watt-hours or MWh (Megawatt-hour) which is 1,000,000 watt-hours.