When you add a domain name as hosted in some account, you usually set a pair of Name Servers to point it to that specific service provider. On their end, 3 records are set up automatically as soon as the domain name is added - one A record and two MX records. The first one is a numeric address, or IP address, which “tells” the domain address where its site is, while the other two are alphanumeric and they reveal the server that deals with the emails for that particular domain address. The site and the email hosting are usually perceived as one thing, when they are actually two different services. Having independent records for them will allow you to have them with different companies if you would like. For example, some new service provider could have exceptional uptime for your website, but you may not want to switch your e-mails from your current host and by employing an A record to point the domain to the former and MX records to have the emails with the latter, you can get the best of both providers. These records are checked whenever you want to open a website or send an email - either way, the company whose name servers are used for the Internet domain is going to be contacted to retrieve the A and MX records and if you've set records different from their own, the right web/mail server will then be contacted and you will see the needed website or your email is going to be delivered.