Oversampling is a way of making sure that each group or category in a study is represented in the same proportion as it is in the population as a whole. For example, if there are a lot of women in the population and you want to sample people to take part in a research study, you might use oversampling to make sure that you have the same proportion of women in your study as there are in the general population.
Think of it like filling a jar with different kinds of candy. When you use oversampling, you make sure that the proportion of each kind of candy in the jar is the same as it is in the population. For example, if 80% of the population likes chocolate, then 80% of the candy in the jar would be chocolate.