Sample size refers to the number of observations or data points collected from a population for the purpose of statistical analysis. It plays a critical role in determining the reliability and validity of the results, impacting the precision of estimates and the power of hypothesis tests.