In ancient Mayan kitchens, a built-in outdoor pizza oven called a 'pib' was used. These ovens were made of stone or clay and were used to bake a variety of bread, including flatbreads resembling pizzas. The Mayans enjoyed toppings such as beans, corn, and chili peppers on their flatbreads, creating a spicy and flavorful dish. The 'pib' was a central element of the Mayan kitchen, allowing them to cook their pizzas in an outdoor setting, adding a unique smoky flavor to the dish.