The best way to understand UI and UX design is to see both in action. User Experience design allows you to quickly create an experience that can be tested and optimized through random user testing, stakeholder feedback, developer review and User Interface design is where the beauty and design consistency comes into play making sure it's on brand and matches your design system.