Polymorphism
However, in some animals an environmental trigger determines the sex: alligators are a good example. In ants the distinction between workers and guards is environmental, by the feeding of the grubs. Polymorphism with an environmental trigger is called polyphenism.