In the sentence:
“We need ______ sugar to bake the cake.”
Sugar is an uncountable noun.
When an uncountable noun is used in a general sense, we do not use an article.
❌ a / an → not used with uncountable nouns
❌ the → used only when referring to specific sugar
✅ no article → correct