Electrons can flow between certain different materials providing a current, as in a common battery. While reliable and portable, chemical batteries run down quickly. To provide the large amounts of steady power demanded by modern societies, large power plants have been built.
Most power plants make electricity with a machine called a generator.
Generators use the principle of electro-magnetic induction, which exploits the relation between magnetism and electricity. As they move, the magnets induce an electric current in the wire. It is important to recognize that electricity is not mined or harvested, it must be manufactured. And since it's not easily stored in quantity, it must be manufactured at time of demand. Electricity is a form of energy, but not an energy source.