A margin is a space that exists between two layout elements. When a side margin is set on an element, it is applied to its corresponding layout constraints, if one is available, by adding the margin as a space between the target side and the source side (the side of the element adding the margin):