Energy use in society includes  sources of energy used for heating,  transportation and electricity.  Electricity is in fact a way of intermediating energy from the original sources ( such as burning something or using the potential energy of falling water ) to the point of use.

It is unfortunately common  but also misleading and wrong  to talk about aspect of energy use in society  as only including electricity when other uses such as gas for heating and cooking  and gasoline/diesel for transportation are used as well.