Exoskeletons contain rigid and resistant components that fulfil a set of functional roles including protection , excretion , sensing , support , feeding and ( for terrestrial organisms ) acting as a barrier against desiccation . Exoskeletons contain rigid and resistant components that fulfil a set of functional roles including protection , excretion , sensing , support , feeding and acting as a barrier against desiccation in terrestrial organisms .