Yeah, It’s little confusing.
Nikhil Yadav
1

What I feel is you should understand that UX and UI are interrelated and you cannot divide them into two parts :)

Everything in the process contributes to the user experience.