Okay, imagine magnets as super cool, invisible superheroes that have powers to attract certain things. Magnets are special because they have a magnetic field, which is like an invisible force that pulls or pushes things. This magnetic field is what makes magnets stick to some things but not to others.
Inside a magnet, there are tiny areas called domains where all the teeny, tiny magnets are lined up in the same direction. When you bring a magnet close to something like a paperclip, the domains in the magnet pull and push the domains in the paperclip, and they all start to line up in the same direction—just like when your friend starts doing a dance and you and your other friends can't help but join in. That's why the paperclip sticks to the magnet!
What's super neat is that magnets have two different ends, called the north pole and the south pole. And just like in a game of tag, the north pole of one magnet loves to hang out with the south pole of another magnet. But if you try to make the north pole of one magnet get close to another north pole, they push away like they're in a game of Red Rover.
So, magnets work because they have a special invisible force called a magnetic field that can attract or repel things. This force comes from tiny domains inside the magnet that pull and push other magnets or magnetic materials. And don't forget, magnets always have two ends: the north pole and the south pole, and they love to hang out with different poles but push away from the same poles. It's like they're playing a fun game of tag with each other!