Rock magnetism is like being able to stick magnets on rocks, just like how you can stick magnets to your fridge. Rocks can have tiny magnets inside them! Scientists like to study these magnets because they can tell them lots of things about the rock, like how old it is, how it was formed, and what it's made of.
Some rocks have magnets inside them because of the minerals they contain. These minerals are made up of tiny particles that are so small, you need a microscope to see them. Imagine a bunch of tiny balls that are all the same size and shape. These balls are made of a special material that makes them magnetic. When you put a bunch of these balls together, they can make a little magnet which is called a domain.
Rocks can also become magnetized because of the Earth's magnetic field. The Earth acts like a giant magnet, with a North Pole and a South Pole. This magnetic field can cause tiny magnets inside rocks to line up in the same direction, just like how the needle on a compass always points towards the North Pole.
Scientists use special instruments called magnetometers to study rocks and their magnetic properties. They can even use magnets to make pictures of the Earth's magnetic field and to explore the ocean floor, where lots of interesting rocks are found. So, rock magnetism can be a helpful tool for scientists to learn more about our planet and its history.