UX (User Experience) and UI (User Interface) are interconnected aspects of designing mobile apps, digital products, or websites.
UX focuses on the user experience during interaction with the product. It involves researching user needs and pain points, analyzing competitors, defining the functions, features, or blocks that the product should have, developing information architecture, creating prototypes and wireframes, testing hypotheses, analyzing user scenarios, and optimizing the customer journey to achieve goals.
UI is responsible for the visual component of the product and its elements, usability, intuitiveness, and attractiveness of the interface, aesthetics and style, typography and color solutions, appropriateness of animations, successful placement of elements, content, or blocks, and so on.