What is the relationship between age composition and dependency ratio? Explain

What is the relationship between age composition and dependency ratio? Explain.

Relationship between age composition and dependency ratio
(i) Children below 15 years of age are economically unproductive and aged above 59 years do not get employment through recruitment.
(ii) The percentage of children and the aged affects the dependency ratio because these groups are not producers but are consumers.