Carbohydrates provide a person with energy. People can also obtain energy from foods containing protein and fats, but carbohydrates are the body's preferred source. If a person does not have a good supply of carbohydrates, their body will use protein and fats as an energy source