How are these cases created?

How does this item function in the body?