What kinds of magnetic poles repel each other?

How can tell the earth acts like a magnet?

Force lines can be drawn on paper using a bar magnet, pencil and...

What is magnetism?