Answer:
The effect of gravity extends from each object out into space in all directions, and for an infinite distance. However, the strength of the gravitational force reduces quickly with distance. Humans are never aware of the Sun's gravity pulling them because the pull is so small at the distance between the Earth and Sun.