Tequila gets a bad rap, but that's mainly because we decide shots are a good idea and only discover our folly after hugging a toilet for hours. Head-splitting hangovers aside, when a quality tequila is consumed properly, it can be a perfectly pleasant experience.
So what is tequila? In order to be certified as tequila, the spirit must contain at least 51% blue agave and be produced in specific regions of Mexico (although it can be shipped to be bottled in the US). There are two basic categories of tequila: Mixtos and 100% agave. Mixtos use no less than 51% agave, with other sugars making up the remainder. 100% agave tequila, as the name suggests, is pure tequila distilled from the blue agave plant.
Mezcal (also spelled Mescal) is defined as the general group of spirits made from the agave plant (of which there are many varieties including the blue agave). Tequila is a specific and regulated form of mezcal. All tequilas are mezcal but not all mezcals are tequilas. Got it?
The critter in question is not a “worm” at all, but usually is one of two types of insect larvae (either a caterpillar of a night butterfly or the larva of the agave snout weevil) that can infest yucca and agave plants. More importantly, tequila never has a worm in it due to strict regulations; the worm is distinctive to mezcal. So, drink up, but don’t eat the worm.