What do pastry-cooks cook?

Basically, a pastry chef cooks pastries. I don't want to be so blunt here. Pastries are food items that are prepared through baking. Cakes, pies and similar dishes would be examples.