What is the difference between bakery and pastry?
What is the difference between baked and pastry?
There is no such thing as a ‘baked good’, baked goods does not have a singular. Whether there is one or a thousand of anything baked they are baked goods. It’s the same as ‘premises’ in the context of buildings one building is never a premise, always premises.

As for the question, pastries are baked goods, they are baked in an oven. However baked goods are not necessarily pastries, baked goods includes pastries, bread, pies, cakes, Yorkshire puddings and much, much more.

Pastries are made from pastry, that’s obvious but so are pies, flans, tarts, pasties etc, but cakes etc 