Steel is an alloy that consists mostly of iron and has a carbon content between 0.2% and 2.1% by weight, depending on the grade. Carbon is the most common alloying material for iron, but various other alloying elements are used, such as manganese, chromium, vanadium, and tungsten. Carbon and other elements act as a hardening agent, preventing dislocations in the iron atom crystal lattice from sliding past one another. Varying the amount of alloying elements and the form of their presence in the steel (solute elements, precipitated phase) controls qualities such as the hardness, ductility, and tensile strength of the resulting steel. Steel with increased carbon content can be made harder and stronger than iron, but such steel is also less ductile than iron. Alloys with a higher than 2.1% carbon content are known as cast iron because of their lower melting point and good castability. Steel is also distinguishable from wrought iron, which can contain a small amount of carbon, but it is included in the form of slag inclusions. Two distinguishing factors are steel's increased rust resistance and better weldability.