Do caterpillars breathe in their chrysalids?

Do caterpillars breathe in their chrysalids?

The chrysalis has spiracles or breathing tubes just like the caterpillars and adults. So, there is air exchange between the developing butterfly and the air outside the chrysalis.