Asked by: Adrian Lewis, Exeter
The sex of a caterpillar is fixed at the moment the egg is fertilised, but most species don’t show any sex-specific features until they turn into butterflies.
The immature reproductive organs are still present in the larval stage though, and in a few species with translucent bodies, you can see the red or dark yellow testes of the males.
Read more:
Subscribe to BBC Focus magazine for fascinating new Q&As every month and follow @sciencefocusQA on Twitter for your daily dose of fun science facts.