Phages in mucus aid immune system by killing invading bacteria.
...animal mucus — whether from humans, fish or corals — is loaded with bacteria-killing viruses called phages. These protect their hosts from infection by destroying incoming bacteria. In return, the phages are exposed to a steady torrent of microbes in which to reproduce.
Amazing stuff - that animals can co-opt bacterial viruses as part of their innate immune systems! Thanks to Joann Passmore for pointing this out.