The basics
When asked for which purposes people most frequently use their computer, then the response often contains the term “email”. Yet in my experience most people have no clue how this digital letter gets from person X to person Y. This article will sketch a rough image of how email works.
Person X types an email in his/her mail client (to for example bob@example.com). This can either be a web based or locally installed client. After pressing the “send” button, the email will be sent towards an outgoing mail server (MTA). This server will queue the mail, and lookup the location where this mail should be delivered by using a DNS server. Imagine the DNS server as a catalog of the internet. It contains (or can lookup) the network locations of a certain domain name (like example.com). The MTA will ask the DNS server to give the location of the mail server (mx record) for bob@example.com.