When two elements overlay each other, they overlap.
With the z-order, you can choose which one covers the other.