This is an approximation. It's inherent in this entire approach that the population is regarded as effectively infinite. Thus, samples from it are not regarded as samples from a finite number of individuals, which would imply a discrete distribution, but as samples from a continuous distribution that idealizes the actual population. For instance, whereas the actual distribution of heights of humans in the world is a discrete distribution that probably looks somewhat similar to a Gaussian distribution when viewed from afar, the approach replaces this by a continuous distribution, in this case perhaps a Gaussian distribution. Instead of regarding this as an approximation, one could also take the view that the population itself is just a big sample from a more abstract distribution, something like "how the heights of people with this particular genetic mix would be distributed if infinitely many of them were born", or "how the political views of people exposed to these particular circumstances and these particular ads would be distributed if there were infinitely many of them".