A sample is a subset of a population used to represent the whole in statistical analysis, allowing researchers to make inferences about the population without examining every individual. The quality and reliability of conclusions drawn from a sample depend on its size and how well it is selected to reflect the population's diversity and characteristics.