What is the difference between the Game World layer and User Interface layer?

What is the difference between the Game World layer and User Interface layer? I started working on my game and I can’t find a difference between these layers? Please help

The UI is basically like the hotbar in minecraft. Its only there for convenience in gameplay and looks.

thanks

Objects placed in the UI layer do not scroll with the game world. Also, they do not have physics, and are not affected by gravity.