The nose is normally essential for detecting flavors on the tongue (remember how bland food tastes when your nose is stuffy?), but you can taste sweetness without using your sense of smell.
Articles and More
Wine Speak: “Fruity” Doesn’t Mean “Sweet”
The difference between what you sense with your tongue versus your nose might seem obvious, but it’s more difficult than you’d expect...