Observing in the infrared has advantages for detecting an exoplanet because the contrast between the light of the star and the light of the planet is diminished at these wavelengths, although the star is still millions of times brighter.