Electricity is one of the most widely used forms of energy. Electricity can be defined as the flow of electrons or charge. Electric power is the amount of work done by an electric current in a unit time. When a current flows in a circuit with resistance, it does work. Devices can be made that convert this work into heat (electric heaters), light (light bulbs and neon lamps), or motion, i.e. kinetic energy (electric motors).
Electricity is a secondary source of energy, and is generated by the conversion of other sources of energy, such as coal, natural gas, oil, nuclear power and other natural sources, called as primary sources. The generation of electricity began approximately more than 100 years ago. It was Benjamin Franklin who suspected that lightning was an electrical current in nature, and wanted to check if his assumption was correct. He tested his idea to see if the lightning would pass through metal. He used a kite, to prove that lightning is a stream of electrified air, today known as plasma. His famous stormy kite flight in June of 1752 led him to develop many of the terms that we still use today when we talk about electricity: battery, conductor, condenser, charge, discharge, uncharged, negative, minus, plus, electric shock, and electrician. In the mid eighteenth century, i.e. 1879 Thomas Edison changed everyone's life - inventing the first commercially practical incandescent electric light bulb. Thomas Edison in 1883 - 84, introduced the world's first economically viable system of centrally generating and distributing electric light, heat, and power. Prior to 1879, electricity had been used in arc lights for outdoor lighting. Edison's invention used electricity to bring indoor lighting to our homes.
The electro-mechanical approach described here (which uses electromagnetic induction to generate an alternating current) is just one way of producing electricity. There are also photoelectric, electro-chemical, electro-mechanical, and thermoelectric phenomena (just to name a few), which can be used to produce an electric charge or direct-current electricity.