When referring to sweets, it is an uncountable noun, and when referring to one or more sweets alone, it is an uncountable noun.
Example:
I am partial to desserts that combine fresh fruit with fine pastry. I prefer delicate pastry with fresh fruit.
He finished his dessert and pattered his paunch. He finished his dessert and patted his belly.