Weight is a measure of the force exerted on an object due to gravity. It is commonly calculated as the product of an object's mass and the acceleration due to gravity. Therefore, weight depends on both the mass of an object and the strength of the gravitational field it is experiencing.
The mass of an object refers to the amount of matter it contains and is a fundamental property of the object. It remains constant regardless of the location or gravitational field strength. In contrast, weight can vary depending on the strength of the gravitational force acting on the object. For example, an object will weigh less on the moon compared to Earth because the moon has a weaker gravitational field.
In summary, weight depends on both the mass of an object and the strength of the gravitational field it is subjected to, while mass is an intrinsic property of an object and remains constant regardless of the gravitational field.