The hagfish can produce large amounts of mucus to protect itself from predators and encapsulate its prey so that other fish do not eat it.