The gravity of a planet, its star, and the centrifugal force associated with the planetary orbit nearly balance in five regions near the planet’s path where an asteroid (or spacecraft) could orbit safely. These areas are nicknamed L1 through L5 after the French mathematician Joseph Lagrange, the first to catalog all five points.
Astronomy magazine subscribers can read the full answer for free. Just make sure you're registered with the website.