From the Latin word gravitas, the term Gravity has been derived, which means gravitation or 'weight', and it is defined as a natural phenomenon by which all things with energy or mass—including planets, galaxies, stars, and even light—are brought toward or gravitate toward one another. On planet Earth, gravity provides weight to physical objects, and the gravity of the moon causes the ocean tides. The attraction of gravitation of the original gaseous matter present in the Universe caused it to begin coalescing and forms stars and causes the stars to group together into galaxies.
So gravity is responsible for many things such as large-scale structures in the Universe. Gravity has a huge effect, although its effects become increasingly weaker as objects get far away. In 1915, gravity was most accurately described by the general theory of relativity which was proposed by Albert Einstein, which describes gravity not as a force, but as a consequence of spacetime curvature due to the uneven distribution of mass. One of the most extreme examples of this curvature of spacetime is a black hole, from which not even a single ray of light can escape once past the black hole's even horizon. For most applications, however, gravity is very well approximated by Newton's law of gravity, which clearly describes that gravity is a force, which causes any two bodies to be attracted to one another. The force is directly proportional to the product of their masses and inversely proportional to the square of the distance between them.