Sugar is the generic name for sweet-tasting, soluble carbohydrates, many of which are used in food. Sugar provides energy to your muscles and acts as a source of energy for your brain and nervous system. You also need sugar because it helps metabolize fats and prevents your body from using protein as energy.