The concept of zero gravity in space can be a bit misleading. In reality, objects in space experience gravity just like they do on Earth, but the effects can be different due to the absence of other forces and the characteristics of the environment.
Gravity is a fundamental force that exists between any two objects with mass. In our solar system, gravity is what holds the planets, moons, asteroids, and other celestial bodies in their orbits around the Sun. The Sun's gravitational pull keeps these objects in motion and prevents them from flying off into space.
When we say there is zero gravity in space, we are referring to the microgravity environment experienced by astronauts in orbit around the Earth or during space travel. Astronauts inside a spacecraft or the International Space Station (ISS) appear to be weightless because they are in a constant state of free fall. They are essentially falling towards the Earth due to its gravity, but they are also moving forward with enough speed that they keep missing it. This continuous state of free fall creates the sensation of weightlessness.
However, the force of gravity is still present in space. It's what keeps the Moon orbiting around the Earth and the Earth orbiting around the Sun. In fact, gravity extends throughout the universe and influences the motion of celestial bodies on a large scale.
So, while there is no complete absence of gravity in space, the term "zero gravity" is often used to describe the apparent weightlessness experienced by astronauts due to their continuous state of free fall in orbit around the Earth.