Research indicates that excessive consumption of sugar may have a negative impact on mental health and cognitive function, increasing the risk of depression, anxiety, and impaired cognitive function.