(Earth's) magnetic field

Always when we want to represent the magnetic field of the earth we see a similar image:

My question is, what exactly does this show? What are the blue and orange lines, what do they represent? Why are they curved like that? I have a vague idea about field lines, but I do not fully comprehend this. An explanation would be appreciated

-