The difference between the user interface and the user experience is given below:

User interface (UI) User experience (UX)
This is basically focused on the smooth running of the interface. The more interactive the interface is and works efficiently that is actually the work of the UI. Here in this process it mainly focuses on the user experience about the work of the developer if they are liking the service provided by them in terms of design and content both.
BY Best Interview Question ON 04 Jan 2020