A geological contact is a boundary which separates one rock body from another. A contact can be formed during deposition, by the intrusion of magma, or through faulting or other deformation of rock beds that brings distinct rock bodies into contact.The geologic subdiscipline of stratigraphy is primarily concerned with depositional contacts, while faults and shear zones are of particular interest in structural geology. Faults and shear zones can be regarded as a form of secondary structure in the rock beds.