I know gravity is the result of mass. Gravity is nothing but the attractive force on a body due to its mass. I have a question that may be silly. In magnetism we have attraction and repulsion. Earth is a big magnet, so I'm assuming that like Earth, other celestial objects also are magnetic. I'm bringing in the same concept of magnetism here into gravity. Since planets can attract each other they should repel something. What is that something that planets repel?
Pardon me if I'm wrong anywhere.