"To orbit the sun" means that an object, like a planet or a spacecraft, moves in a curved path around the sun. It travels in this path because the sun's gravitational pull keeps it in place, and it continuously circles around the sun without falling into it.
Full definition