Carbohydrates are macronutrients that are an important part of our diet. Their primary role is to provide us with energy.…