Answer:
There is gravity in space – lots of it. Because gravity is everywhere in space, objects in space are always falling: towards the earth, towards the sun, and towards the galactic center. There are two reasons that objects seem to be floating without gravity in space when they are really falling.
First, space is very large and relatively empty by earth standards. Because space is so large, it takes you from hours to years of falling through space until you actually hit the surface of a planet (assuming you have aimed properly so that you actually do hit), instead of the seconds it takes jumping off a bridge.
The second reason that gravity is not so obvious in space is because objects tend to orbit planets instead of hitting them.
Explanation: hope that helps :)