SPF (Sender Policy Framework) is a TXT record on a domain that lists which servers may send email for it. A receiving mail server compares the server that delivered a message with that list.
SPF is one of three checks. DKIM signs each message and DMARC says what to do when SPF or DKIM fails. To see the mail servers and the DMARC policy as well, use the MX Record Lookup and the DMARC Record Checker.