What does a pastry chef do?

A pastry chef makes pastries, which are baked things like pies and tarts.