Is gluten a protein or a carbohydrate

Protein and carbohydrates are just nutrients, gluten contains both.
From a nutritional point of view, proteins and carbohydrates are just nutrients, but they do not refer to a particular food. Gluten contains both proteins and carbohydrates. Secondly, gluten can be categorized into water gluten and oil gluten.
100g of water gluten contains 23.5% protein, 0.9% fat, 12.3% carbohydrate, etc. 100g of oil gluten contains 26.9% protein, 40.4% carbohydrate, 25.1% fat, etc. From the ingredient list, there is a difference between the two. From the list of ingredients, the difference between the two is the level of fat content, both contain high protein and carbohydrates.
In conclusion, it is important to have a rational diet, balanced nutrition and moderate consumption of gluten in daily life.