In simple terms, UX design is the user experience design while UI is the user interface design. Both are closely related but play different roles. One of their major differences occurs in terms of their functionality. While UX focuses on how the interface works, UI focuses on the way the interface looks.
Key point is to create user-friendly interface for your project.