Gravity and magnetism are not the same thing. In fact, they are completely separate forces.
Gravity is a force that acts between any two objects with mass. No matter what they are made of, both objects get pulled towards each other just because they have mass.
read more >>