In SwiftUI, you have this concept of a container view. These containers help with the layout so you don't have to spend a lot of time with the layout every single view on your screen.
This example introduces the VStack which vertically lays out its children.
The cool thing about container views is you can apply modifiers to them. They are views too and can have colors, borders, shadows, etc.