Excessive consumption of added sugars, especially in sugary beverages, can contribute to weight gain due to their high calorie content and lack of nutritional value.