Cockroaches are popularly depicted as dirty pests, though the great majority of species are inoffensive and live in a wide range of habitats around the world.