Anchor and Pivot Point
Every UI object has a set of Anchor Handles and a Pivot Point. These objects used together will help ensure that your UI is positioned appropriately and scales appropriately if the resolution or aspect ratio of your game changes.
The Anchor Handles
are represented by four triangles in the form of an X, as shown in the following diagram:

The Anchors can be in a group together forming a single Anchor, as shown in the preceding diagram, or they can be split in to multiple Anchors, as follows:

The Anchors will always form a rectangle. So, the sides will always line up.
The Rect Transform
has properties for Anchor Min
and Anchor Max
points. These represent the position of the Anchor Handles relative to the parent's Rect Transform, as percentages. So, for example, a 0
in an x value represents all the way to the left, and a 1
represents all the way to the right. You can see from the following screenshot how adjusting the x value will move it left and right, relative to the parent...