An air fryer works by circulating hot air around the food at high speed, cooking it and giving it a crispy texture similar to deep-fried food. It uses a heating element and a fan to blow the hot air around the food in a compact cooking chamber, allowing the food to cook quickly and evenly. The use of little to no oil in an air fryer makes it a healthier alternative to traditional deep frying methods.