The mass of an object remains the same regardless of its location or the gravitational field it is in. However, an object's weight, which is the force exerted on it due to gravity, can vary depending on the strength of the gravitational field.