Why do gardeners pt compost on their gardens?

People put compost on their gardens because it makes richer soil.