Gravity is nothing more than one of the most important forces in the universe. That's because it's what keeps us together on the planet, on solid ground. That is, if the Earth's gravity were different, most likely our way of locomotion would be different from the current one, we would levitate, and not walk.
Therefore, gravity works as an attractive force for all matter. Depending on the mass of matter. For example, by gravity, Earth's mass holds us to the ground. Furthermore, the same gravity that pulls us to the ground also pulls the moon into our planet's orbit.
see more
MCTI announces the opening of 814 vacancies for the next portfolio contest
The end of it all: scientists confirm date of when sun will explode and…
On the other hand, the Sun's gravity and force pull the Earth (and the other planets) into its orbit. That's why the planets of the solar system revolve around the star, because it attracts them with its gravitational force.
Earth's gravitational force is 9.807 m/s². On the other hand, the strength of the sun is much higher, with 274 m/s², while that of the Moon is 1.62 m/s².
Mass and Distance
There are two other components that interfere with gravity. They are mass and distance. This is because the greater the mass that an object has, and the closer it is to the gravitational force of the star, the greater its force of attraction on this object.
A basic example for this would be the Sun and the Earth. Although the Sun has a greater gravitational pull, we are closer to the Earth's core, so we are not attracted by the star's pull.
Origin
The great physicist behind the concept of gravity is Isaac Newton. According to legend, Newton observed an apple falling from the tree, and began to question whether the force that makes the fruit fall would not be the same as keeping the moon in the orbit of our planet.
Still according to the physicist's studies, two bodies at the same height, with different masses, fall at the same time. That's if they both have the same air resistance. That's because goals will always be attracted to the center of the Earth.