UI design focuses on the visual and interactive elements of a product like buttons, menus and graphics. The goal is to make the interface easy to use. UX design focuses more broadly on the overall user experience including how usable, useful and satisfying the product is for users. UX design considers interface design but also information architecture and usability testing. While UI design deals with how a product looks, UX design ensures the functionality and experience meet users' needs. Both are important but UX comes first to understand users before designing visual interfaces.