Tofu comes from the soybean, just as cheese comes from milk.
In 100g of Tofu there are 4g of fat and less than 1g of carbohydrate. So it is more fat than carb, but it is barely either. So Tofu can be eaten with cheese as a fat meal or with vegetables and beans as a carb meal.
We don’t normally talk ...