Example for Understanding UX an UI [on hold]

I want to have an understanding of the UI and the UX,

In my opinion, page animations are related to the UI and the UX looks at the meaning and logic of everything.is it true?

I imagine that the google authentication system is a good user experience; if you sign in to the Gmail version on the web version and sign in to the mobile phone, you will be logged in with the verification on the phone without entering a password.is it true?