Why are some things magnetic and some aren't?

magnetic things have to be made of a certain metal not all things are made of that metal