Migratory birds navigate over long distances using a combination of celestial cues, such as the sun and stars, magnetic fields, landmarks, and their innate ability to sense the Earth's magnetic field. These birds have specialized cells in their eyes that can detect the Earth's magnetic field, allowing them to orient themselves and follow specific migratory routes. Additionally, they rely on their memory of landmarks, the position of the sun and stars, and even the Earth's magnetic field to guide them during their long journeys.