Stack allows you to arrange your UI elements vertically or horizontally.
Refer:
For instance below are 4 elements which are arranged in a stack panel element. You can see how the stack aligns / stacks the elements one above other. You can also stack the UI elements horizontally or vertically depending on your layout nature.