Joints are fractures in rocks where the rock has broken, creating two free surfaces. Joints form due to contraction from cooling, consolidation, or tectonic stresses. Joints are classified based on their formation process or geometry. Tectonic joints form from differential stress and may indicate past stress orientations. Unloading joints form from uplift and erosion reducing compressive loads. Cooling joints commonly form vertically in cooling lava.