What is the effect of magnets for?

What do people often use magnets for?