Oxygen enters the insect through the spiracles and them moves into the trachea, the spiracles then close. Oxygen then moves through the trachea into the tracheoles, where it is delivered straight to respiring tissues. The carbon dioxide produced in respiration moves in the opposite direction and leaves via the spiracles when they're open.