Gravity is actually the distortion of this space-time surface. If something has mass, it curves the surface. The classic way to imagine this is to consider space-time as a two-dimensional surface, and the effect of mass as that of placing a ball on this surface. The ball pulls the surface down, creating a well. Gravity can be thought of as the way things get pulled down into this well.

