Anyone can type any address into the "From" line of an email. The mail system was built that way. SPF, DKIM and DMARC are three add-ons that let a receiving server check whether a message really came from the domain it claims.1
Each one is a short piece of text that the domain owner publishes in the Domain Name System, or DNS. That's the public directory that turns names like example.com into the details other computers need.
SPF: who may send
SPF stands for Sender Policy Framework. The standard describes it as a way for a domain to "explicitly authorize the hosts" that may use its name, so a receiving server can check that authorisation.1
Think of it as a guest list. The domain publishes the servers allowed to send for it. When a message arrives, the receiver looks at the server that delivered it and checks whether it's on the list.1
The details are in How an SPF record works.
DKIM: a signature on the message
DKIM stands for DomainKeys Identified Mail. The sending server adds a digital signature to each message. The receiver then fetches a public key from the signer's domain and uses it to check that signature.2
So SPF looks at where a message came from. DKIM looks at the message itself, and whether it was signed by the domain that claims it. Messages can pass through relays on the way, and the signature is designed to survive that when the relay doesn't change the content.2
There's more in How DKIM signing works.
DMARC: what to do with a failure
SPF and DKIM each give a pass or a fail. Neither tells the receiver what the domain owner wants done about a fail, and neither checks the address people actually see in their mail program.3
DMARC fills both gaps. It asks whether the domain in the visible From address matches a domain that SPF or DKIM validated. The standard calls that match "Identifier Alignment".4
It also lets the domain owner state a policy. In the words of the DMARC overview, senders tell receivers what to do when a message doesn't authenticate. Receivers can also send feedback to the domain owner about use of the domain.34
The policy options are covered in How a DMARC record works.
What this means for your own domain
If you send mail from a domain you own, whether from a website contact form, a business mailbox or a newsletter tool, these three records are yours to publish. Your mail service will usually tell you what values to use.
You'll add them at your DNS host, which is covered in Where the records go. You can see what's already there with the steps in How to look up your own records.
Receivers decide for themselves how much weight to give a result. The standards describe what a domain asks for, not what every receiver must do.4