In randomized controlled trials, people are randomly assigned to each category to offset any potential bias.
Selection bias is the phenomenon where the selection of people or groups is not adequately randomized to offset potential bias in research studies. This in turn does not ensure that the study samples included in research are representative of the population needed to be tested on.