Population: it is the set of all individuals to be studied. Sample: then we pick some individuals of the population to study. They are called a sample of the population.
Work Step by Step
Suppose we have 50 students in a class. The 50 students are the population. But if you select 20 students only, this is a sample.