SPF (Sender Policy Framework) is a DNS TXT record that lists the servers allowed to send email for a domain. Receiving mail servers compare the sending server with that list and use the result to accept, flag or reject the message.
A correct SPF record helps stop others from sending email that pretends to come from your domain, and helps your own messages reach the inbox. SPF is normally used together with DKIM and DMARC.