Quick Answer
UI (User Interface) focuses on visual design and interactive elements; UX (User Experience) focuses on the overall user journey and usability.
Detailed Explanation
UI: visual design, typography, color, layout, interactive elements, animations, branding. UX: user research, information architecture, wireframing, prototyping, usability testing, user flows, accessibility. A product can have great UI but poor UX (beautiful but confusing). UX comes first (research, structure), UI follows (visual implementation). Both collaborate closely in modern design teams.