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
Ganga Mahotsav: Varanasi, Uttar Pradesh 5 Day Cultural Festival
Ganga Mahotsav is a five day event celebrated on the banks of the river Ganges …