The Electric type is a type of Pokémon that have electricity-oriented powers. They possess electro-kinetic abilities, being able to control, store, or even produce electricity.
Electric-type Pokémon have varied habitats, from forests and prairies to cities and power plants. Electric-type Pokémon are usually fast, and many of their attacks may paralyze the target. Some Electric-type Pokémon also resemble artificial objects used by humans which relate to electricity (the Magnemite and Voltorb evolution lines and Rotom).
They have no effect against the Ground-type because in the True X2 Nonfiction life, the ground is a natural sink of electrons hence the term "grounded". Also, electrical appliances don't work when dirt gets into them.
They're strong against the Flying-type because while in the air, they don't make contact with the ground, so they can't divert the electricity, so they're susceptible to strong electrical currents, and lightning is most likely to strike what's highest above the ground.
They're strong against the Water-type because water is a natural electricity conductor, and if one is in the water, it gets electrocuted as well.
The Dragon-type resists them because, in old legends, dragons were immune to the natural forces, electricity included.
The Grass-type resists them because plants and trees are made of materials that don't conduct electricity, like wood and rubber. Also, trees divert the electricity to the ground with their roots.
They resist the Steel-type because all kinds of metal alloys are great electrical conductors, positive magnetism attracts metal to the point of trapping it, and negative magnetism can repel metal. Something interesting about this is the Steel-type isn't weak to them.
They resist themselves because adding electricity to another source of electricity increases the source.
There are electrical fly swatters in real life that are used to kill bugs. However, the Electric type isn't super effective against Bug types.