Electricity as we know it and use it today was invented around the year 1821 when Michael Faraday invented the first electric motor.
An electric motor works by using a magnetic field and the electricity and magnet make the motor spin when electricity is applied to it.
The first reliable, long-lasting electric light bulb was invented in the year 1879 by Thomas Edison however there was another inventor of the light bulb years before that.
Electricity then saw almost widespread use by most people after the 1880s.
Not everyone could afford to get hooked up to the electrical grid or afford the cost of the electricity that was being supplied to them.
Before Alternating Current people used direct current which was less reliable and was not as easily movable from the power plant to the homes and businesses.