My physics teacher said that the northern lights are the product of charged particles coming from the sun and interactign with our atmosphere. I believe he said that these are deflected by Earth's magnetic field and directed towards the North and South poles. When I look at pictures on this topic, the Earth's magnetic field is shown to be similar to a bar magnet's field. The solar wind then goes perpendicular to it and seems to follow the lines. Shouldn't the particles experience a magnetic force that is perpendicular to both their velocity and the magnetic field, and therefore end somewhere else that's not the North or South? For example, in the picture attached the arrows at the centre impact the field when its going up, with a velocity vector pointing right. Why is the force vector not going "out of the page"?