It's not just the Earth that pulls everything towards its center. Every object in the universe exerts a gravitational force on every other object. The strength of this force depends on:
* Mass: The more massive the objects, the stronger the gravitational pull.
* Distance: The closer the objects are, the stronger the gravitational pull.
So, while the Earth's gravity is strong enough to keep us on the ground, it's not the only gravitational force at play. We're also being pulled by the Sun, the Moon, and every other object in the universe, just to a much smaller degree.