Gravity or gravitation is a natural phenomenon by which all things with energy are brought toward (or gravitate toward) one another, including stars, planets, galaxies and even light and sub-atomic particles. Gravity is responsible for many of the structures in the Universe, by creating spheres of hydrogen — where hydrogen fuses under pressure to form stars — and grouping them into galaxies. On Earth, gravity gives weight to physical objects and causes the tides. Gravity has an infinite range, although its effects become increasingly weaker on farther objects.

Gravity is most accurately described by the general theory of relativity (proposed by Albert Einstein in 1915) which describes gravity not as a force but as a consequence of the curvature of spacetime caused by the uneven distribution of mass/energy; and resulting in gravitational time dilation, where time lapses more slowly in lower (stronger) gravitational potential. However, for most applications, gravity is well approximated by Newton's law of universal gravitation, which postulates that gravity causes a force where two bodies of mass are directly drawn (or 'attracted') to each other according to a mathematical relationship, where the attractive force is proportional to the product of their masses and inversely proportional to the square of the distance between them.

More Info: en.wikipedia.org