Basic idea on UI and UX


I wanted to know is ui and ux design is all about designing a website and app on how it looks? Like how should a particular box should appear whether it should be small or big? Should it have shadow or how will it aling? Is this how ui and ux design is all about?