Parental care involving nests. Maintenance and provisioning of a nest takes time and energy on the part of the parents. Nesting is a form of parental investment that increases the probability of success of a relatively few eggs. Most insects lay a great many eggs most of which are killed. Nesting insects lay a few eggs but most live.
Earwigs are one group which very commonly makes nest for young.
Mothers manipulate eggs to prevent mold growth , defend nest against intruding crickets, other earwigs, and remove feces from nest. In some species young leave nest soon after hatching, but in others mother brings in food and also lays small infertile eggs which the young eat. All nest building species belong to a subgroup of the hymenoptera characterized by having a true sting in the place of an ovipositor, eggs are then laid from the base of the sting instead of the tip. Sting only used to inject venom. Some of this group are solitary and parasitic.