Mass gainers work by providing the body with the nutrients it needs to build muscle and gain weight. The protein in mass gainers helps to repair and rebuild muscle tissue, while the carbohydrates provide the body with energy. Mass gainers also often contain other nutrients, such as creatine and glutamine, which can further enhance muscle growth and weight gain.