What is sampling with and without replacement? What distributions are involved?

What is sampling with and without replacement? What distributions are involved?