Sampling bias occurs when certain individuals or groups within a population are more likely to be selected for a sample than others, leading to an unrepresentative sample. This can distort the results of statistical analyses, affecting conclusions drawn about the entire population and leading to incorrect generalizations.