The detection of exoplanets has advanced dramatically over the past few decades. The two primary methods are the transit method and the radial velocity method. The transit method involves observing the dimming of a star’s light when a planet passes in front of it, while the radial velocity method measures variations in the star's spectrum due to the gravitational pull of an orbiting planet. Other methods include direct imaging and gravitational microlensing.