A few groups have evolved to live in terrestrial environments, but are restricted to humid areas. Some have even evolved tubes that open inwards from the skin which work like simple lungs, absorbing oxygen from the air and allowing release of waste gases.