 Fireflies use light to attract mates. Two systems are involved according to species; in one, females emit light from their abdomens to attract males; in the other, flying males emit signals to which the sometimes sedentary females respond. Click beetles emit an orange light from the abdomen when flying and a green light from the thorax when they are disturbed or moving about on the ground. The former is probably a sexual attractant but the latter may be defensive. Larvae of the click beetle Pyrophorus nyctophanus live in the surface layers of termite mounds in Brazil. They light up the mounds by emitting a bright greenish glow which attracts the flying insects on which they feed.
