Answer:
Let's start by defining what is mass, gravity and weight:
The mass is the amount of matter that exists in a body, which only depends on the quantity and type of particles within it. This means mass is an intrinsic property of each body and remains the same regardless of where the body is located.
Gravity is an attraction force, which depends on the mass of the bodies and their distance.
Weight is the force that gravity exerts on matter and changes depending on where the body is located. Therefore, the weight of an object on Earth will not be the same as the weight of the same object on the Moon or on Mars.
Now, according to Newton's law of Gravitation, the force [tex]F[/tex] exerted between two bodies of masses [tex]m1[/tex] and [tex]m2[/tex] and separated by a distance [tex]r[/tex] is equal to the product of their masses and inversely proportional to the square of the distance:
[tex]F=G\frac{(m1)(m2)}{r^2}[/tex] (1)
Where [tex]G[/tex]is the gravitational constant
In the case of our Earth, its mass [tex]m1[/tex] and radius (distance [tex]r[/tex] from its center to its surface where an object is) are constant. So, we can write all these constant in one, in the following way:
[tex]g=G\frac{m1}{r^2}[/tex] (2)
Where [tex]g[/tex] is the gravity force on Earth and its value is [tex]9.8\frac{m}{{s}^2}[/tex]
.
Rewriting equation (1) with this consideration:
[tex]F=g.m_{2}[/tex] (3)
Where [tex]F=W[/tex] is known as the weight:
[tex]W=g.m[/tex] (4)
Here we can see the relationship among mass [tex]m[/tex] , weight [tex]W[/tex] and gravity [tex]g[/tex]