A few species, notably the fireflies, produce light, used as a signal in courtship, by a chemical reaction. The sexes are separate in insects, and reproduction is usually sexual, although in many insect groups eggs sometimes develop without fertilization by sperm (see parthenogenesis). In some insects, such as bees, unfertilized eggs become males and fertilized eggs females. In others, such as aphids, all-female generations are produced by parthenogenesis. Eggs are usually laid in a sheltered place; in a few insects they are retained and hatched internally. After hatching, the insect must molt periodically as it grows, since the rigid exoskeleton does not allow much expansion. A new, soft exoskeleton forms beneath the old one, and after each molt the insect undergoes a rapid expansion before its new covering hardens. The stages between molts are called instars; the final instar is the adult.