A compression test is a method used to evaluate the mechanical properties of materials by applying a compressive load until failure occurs. This type of test is critical for determining how materials respond to axial loads, helping to measure stress, strain, and various elastic moduli. The results provide insights into the material's strength, ductility, and behavior under compression, which are essential for designing structures that can withstand loads without deforming or failing.