Complex sentence: This sheath forms a bag like structure that the animal can hide inside for protection along with erecting its spines to further protect from predators.
Split into simpler sentences: This sheath forms a bag like structure that the animal can hide inside for protection. It can also erect its spines to further protect from predators.