Tequila is a type of mezcal, much like how scotch and bourbon are types of whiskey. Mezcal is defined as any agave-based liquor and is cooked inside earthen pits. They are lined with lava rocks and filled with wood and charcoal before being distilled in clay pots.