Explanation:
weight changes by changing place (planet)as it depends on the gravity of planet _ gravity increases as mass of planet increase _
weight depends on 1- mass of body.
2 - place (planet where object exist.)
3- distance from centre of planet ( earth ) .
while mass defined as the amount of matter inside object.
and it's constant value doesn't change by changing the the place.
I hope that it's useful for you