When I was at school I was taught that gravity is an effect of the deformation of space.
Imagine you have a very large net stretched laterally across a car park suspended a few feet in the air - just like a trampoline. That is space.
If you now get a bowling ball and roll it across the net, the net will deform in the vicinity of the ball. If you introduce another smaller ball in the vicinity of the bowling ball the smaller ball will be drawn toward the bowling ball. The further away the smaller ball - the less the effect. That's roughly how gravity works.