The electrical energy consumed in a circuit is defined as the total work done in maintaining the current in an electrical circuit for a given time.
S.I. unit of electrical energy is Joule whereas commercial unit of electrical energy is kilowatt hour (kWh).