What type of sampling in being done?

In a study,people are separated into certain sub groups and then some are selected randomly form each of these sub groups. What type of sampling in being done?

a.Simple random sampling
b.cluster random sampling
c.systematic random sampling
d.stratified random sampling

ans:d.stratified random sampling