How does the concept of mass differ from the concept of weight?

Mass is the amount of matter in an object. Mass remains unaffected by gravity. Weight is a measure of the gravitational pull on an object and is therefore affected by gravity.