what is the purpose of weight and mass​