TXT records hold text data. Mail servers use them for SPF (v=spf1...) and DMARC (v=DMARC1...); other systems use them for ownership verification.
TXT record
A DNS record that carries arbitrary text — used for SPF, DMARC, and domain verification.