Metal nitrides are compounds formed by the combination of nitrogen with transition metals. Examples include titanium nitride (TiN), molybdenum nitride (Mo2N), and vanadium nitride (VN). Metal carbides, on the other hand, are compounds formed by carbon with transition metals, such as tungsten carbide (WC), molybdenum carbide (Mo2C), and titanium carbide (TiC).