Sweet or savory pastry shells can be used as a base or wrapper for various fillings, adding flavor and texture to the dish.