The difference between user interface design and experience design

Note: User interface (UI, User Interface) design is one of several interdisciplinary disciplines involved in designing software products. Whether it is user experience (UX, User Experience), interaction design (ID, Interaction Design), or visual/graphic design (Visual/Graphic Design), user interface design can be involved.
What is user interface design?
Broadly speaking, the user interface is the medium of communication between man and machine. The user issues a command to the machine, which then starts a process, replies to the message, and gives feedback. The user can make decisions about the next action based on the user feedback.
Human-machine interaction (HCI) is primarily concerned with digital interfaces, from the punch and command line of the past to today's graphical interfaces (GUIs).
User interface design for digital products is primarily concerned with layout, information structure, and presentation of interface elements on displays and various end point platforms. Video game and television interfaces are also included.