In a post yesterday, I talked about the Moon orbiting the Earth, and the Earth's gravitational sphere of influence, called its Hill sphere. If you have an object orbiting the Sun (like a planet, say), anything inside that object's Hill sphere is more affected by that object than it is by the Sun.