What is the function of sugar in the human body?