There is gravity in space. Planets are gravitationally attracted to the sun, which is why they remain in orbit around the sun. There is a phenomenon that we see in orbit that is sometimes called weightlessness, although that is a misleading term. Free fall is a more accurate term. An orbiting object (or astronaut) is still being gravitationally attracted to the Earth, but because of the orbital velocity, does not actually fall to the Earth but orbits around it instead. Instead of falling downward, such objects are effectively falling in a circle (or elliptical path). They seem to be weightless but they do still have weight.
Inertia and gravity
It was Isaac Newton who figured out that the force of gravity keeps planets in orbit around the sun.
Gravity and velocity (inertia) keeps planets in orbit around suns.
Gravity
Most people don't think this but planets are actually held in orbit by gravity. With out gravity the planets will fall down.
Any moon is held in orbit by gravity, just as the planets are held in orbit around the sun by gravity.
gravity
The Sun pulls the planets around it
The two forces that work together to keep the planets in orbit around the sun are gravity and inertia.
gravity
The Sun's strong gravity keeps all the planets in orbit around it.
Yeah
Gravity.
Gravity and inertia
Gravity.
Yeah
Planets orbit the sun in a counter clockwise motion, due to the balance between the Sun's gravity and the gravity of each individual planet.