Mass is a measure of the amount of matter in an object; it is an intrinsic property and does not depend on gravity. Weight is the force exerted on an object due to gravity (Weight = mass × acceleration due to gravity). If gravity disappears (acceleration due to gravity becomes zero), the weight becomes zero (mass × 0 = 0).