Why do caterpillars turn brown?

Catipillars turn brown if they are infected with OE.