This incredible transformation has a purpose: Allowing insects at different life stages to avoid competing for food.