An air fryer can be either a countertop appliance or an oven with an air-fry mode that cooks food by circulating hot air around it, much like a convection oven.