Magnetic fields are areas where an object exhibits a magnetic influence. The fields affect neighboring objects along things called magnetic field lines. A magnetic object can attract or push away another magnetic object. You also need to remember that magnetic forces are NOT related to gravity. The amount of gravity is based on an object's mass, while magnetic strength is based on the material that the object is made of.