I don't know about how they do it, but I use both currently.
SendGrid for one-off emails (ie. a user signs up for an account, their welcome email).
MailChimp for email marketing (we send newsletters via them).
MailChimp has since released Mandrill that caters to the one-off emails, but we were already with SendGrid by then.