W is power at a moment; kWh is electricity used. Watts vs kilowatt-hours, current and voltage, VA and power factor, and battery mAh to Wh, with examples.
The W (watts) on an appliance and the kWh (kilowatt-hours) on an electricity bill sound alike but are different quantities. Watts are power, how fast electricity is being used at this moment; kilowatt-hours are energy, how much was actually used over a period.