In insects, gaseous exchange occurs through a network of tubes collectively known as the tracheal system. The small openings on the sides of an insect’s body are known as spiracles. Oxygen-rich air enters through the spiracles. The spiracles are connected to the network of tubes. From the spiracles, oxygen enters the tracheae. From here, oxygen diffuses into the cells of the body.
The movement of carbon dioxide follows the reverse path. The CO2 from the cells of the body first enters the tracheae and then leaves the body through the spiracles.