If you experiment with a magnet, you will find that it picks up some things but not others. It picks up nails but not gold rings. It picks up needles but not silver spoons. Your magnet is made of a metal called iron, and it will only pick up other things that have a lot of iron in them.
To see how your magnet works, you have to imagine some things first. Imagine that you could cut it in half. Scientists have done so, and they find that they get two separate magnets. Cut one of the halves in two and you get two more magnets. Now imagine you could go on dividing a piece of your iron magnet until you get the smallest possible bit of the metal. This smallest bit is a molecule. Even this molecule is a magnet, too! Every iron molecule is a tiny magnet. It pulls other iron molecules toward itself.
If all iron molecules are magnets, then why isn't a nail a magnet? Why can't you pick up a pin with a nail? Scientists think that this is the answer: All the molecules in a nail are mixed up together helter-skelter. Each one pulls on others in a helter-skelter way. But in a magnet the molecules are lined up in an orderly way. They can all make their pull in an orderly way. Their combined pull is so strong that they can draw other separate pieces of iron toward them and pick them up.