"Insects are necessary for terrestrial and fresh-water ecosystems to function," study author Keith Sockman said.