They pollinate our flowers, vegetables and fruit. They spread deadly diseases. They flash in the summer night. They bore into the wood in our homes. And they serve as supper for birds, reptiles, amphibians and mammals — including people.

Insects are seemingly everywhere, and scientists have been striving to grasp better their history.

An international research team on Thursday unveiled what it called the most comprehensive insect family tree ever devised, using genetic data to trace insect origins back to nearly half a billion years ago and clarify the relationships among the major insect groups.