if you put something like a piece of cardboard between a magnet and an iron nail the magnets to hold the nail in place even though the magnet is not touching the nail explain how that happens
Magnetic forces are non contact forces; they pull or push on objects without touching them. Magnets are only attracted to a few 'magnetic' metals and not all matter. Magnets are attracted to and repel other magnets.