Cosmic ray deflection refers to the alteration in the trajectory of cosmic rays, which are high-energy charged particles originating from outer space, as they encounter magnetic fields. When these charged particles pass through a magnetic field, they experience a force due to the Lorentz force law, which causes them to change direction based on their charge and velocity. This phenomenon is crucial for understanding how cosmic rays interact with Earth's atmosphere and magnetic field, affecting their intensity and distribution on the planet's surface.