UI Design, or User Interface Design, focuses on the visual and interactive aspects of a product or service, including the layout, color scheme, typography, and other design elements. UI designers are responsible for creating engaging and user-friendly interfaces.
UX Design, or User Experience Design, is a broader field that encompasses all aspects of a user's experience with a product or service, including the design of the interface, as well as the overall user journey and the emotions that users experience. UX designers work to create a seamless and enjoyable user experience.
Ultimately, both UI and UX design play an important role in creating exceptional user experiences, and both can be highly rewarding careers. It may be useful to gain a strong understanding of both fields to make an informed decision
You should take a look at the free video training on UI/UX designing from Intellipaat if you want to learn more about both UI and UX design.