A sperm analysis is a test that evaluates the quantity and quality of sperm, including factors such as count, motility, and morphology.