A magnet works on the principal of electromagnetism. Magnetic force is independent of the Earth’s gravitational force. Therefore, a magnet will work in space. As the Earth is also a big magnet with two poles (south and north), it too exerts a force on other astronomical bodies.
Check Also
Shree Shankheshwar Parshwanath Jain Temple, Gummileru, India
Shree Shankheshwar Parshwanath Jain Temple is one of the Jain pilgrimage sites in Andhra Pradesh. This …