In agriculture, a soil test is the analysis of a soil sample to determine nutrient content, composition and other characteristics, including contaminants. Tests are usually performed to measure fertility and indicate deficiencies that need to be remedied. Soil testing helps diagnose the condition of soil and comes up with specific solutions. Soil testing and analysis helps the farmers to recognize infertile soil and find more information about its nutritional status. Based on the results of the analysis, farmers can rationalize the use of fertilizers and also make educated decisions on finding crops that are more productive and sustainable for that particular environment. Soil tests include major nutrients such as nitrogen (N), phosphorus (P), and potassium (K), and secondary nutrients such as sulphur, calcium and magnesium. Tests can also be performed for minor nutrients such as iron, manganese, copper, zinc, boron, molybdenum and aluminium. Physical properties of the soil such as soil acidity, electrical conductivity, soil organic matter, moisture content, and soil contaminants can also be detected.