What is the difference between usability testing and user acceptance testing?

User acceptance testing (UAT) and usability testing (UT) appear to have many similarities in terms of goals and output, and often purpose. What is the main difference between usability testing and user acceptance testing?