Gravity is an attractive force that acts on every particle of matter in the universe. The strength of the attraction depends on distance and mass however. If they're close enough, two particles of cosmic dust will gravitate toward each other. Meanwhile, the gravitational force of a planet will pull on objects much farther away.