 In some species, this is restricted to the larval stage, but in others this feature is retained by the pupae and adults.The ability to produce their own light may be used by some predatory larvae as a lure for potential prey, although it also obviously makes them more susceptible to predation or parasitism.These are not mycetophilids "sensu stricto", but belong to the family Keroplatidae.