 But by the same token, a kilowatt-hour of this high-quality electricity can be used to pump several kilowatt-hours of heat into a building using a heat pump.And electricity can be used in many ways in which heat cannot.So the "loss" of energy incurred when generating electricity is not the same as a loss due to, say, resistance in power lines.