All matter has a gravitational field that attracts other objects. The more mass an object has, the greater its gravitational field will be. For example, the Earth has a greater gravitational field than the Moon because it has a much greater mass than the Moon.