Our understanding and use of electromagnetism has resulted in our modern world. We use it for heat, light, communications, transportation, motors and much more. It is everywhere in our lives.
However Astronomers believe there is NO (none, nada, zip) electricity in space. They believe it simply cannot exist. For electricity to flow there must exist a charge imbalance to drive it. If there ever was a charge imbalance in space then it would have neutralized a long time ago. There needs to be a generator or battery to keep the current going.
Since the belief is there is NO electricity in space, you don't need to study electromagnetism to graduate from college as an Astronomer. Instead our modern cosmology is based on gravity and has resulted in theories of black holes, dark matter, and dark energy.
Everywhere we look in space we see magnetism. These magnetic fields are a tell tale sign there is an electric current behind it. By mapping these magnetic fields we find that Galaxies are connected by large electric circuits, within our galaxy the stars are connected with smaller circuits, and the Sun is connected to Earth through the solar wind - a flow of charged ions.
Electricity is flowing between everything in space. We think the stars and galaxies we observe are what's important. Instead imagine there are large wires connecting everything and the stars form where these wires meet or split. The stars are created by these currents. It' the electricity that's important.