For one, UI (User Interface) is a part of UX (User Experience). Secondly, while UI is more element-focused and design-based, UX is more conceptually inclined. UX
focuses on the overall experience of the user with the product or service. It is used for both physical and digital products, while UI is only digital.