A unit of electricity is a terminology to define a certain amount of electricity used or generated. For example, If you are using electricity at your home, then to charge you the bill for that it is necessary to measure how much electricity you have consumed. And it is measured in units which is equivalent to 1kWh. That is  1 Unit of electricity= 1kWh