Newton viewed gravity as a force acting on objects in a 3 dimensional universe (length, width, and depth).
Einstein proposed the idea of spacetime, or a 4 dimensional universe (length, width, depth, and time). Massive objects bend spacetime, and gravity it the result of the curvature of spacetime.