 Dislocations are especially important in materials science, because they help determine the mechanical strength of materials.Another common type of crystallographic defect is an impurity, meaning that the "wrong" type of atom is present in a crystal.For example, a perfect crystal of diamond would only contain carbon atoms, but a real crystal might perhaps contain a few boron atoms as well.