What does "pastry" mean?

Pastry: Articles of food made of paste, or having a crust made of paste, as pies, tarts, etc. Pastry cook, one whose occupation is to make pastry; as, the pastry cook of a hotel.

Sources