Differentiation leads to the specialization of stem cells during early stages of development. This allows the offspring to develop organ systems with cells that perform completely different functions that all help to maintain homeostasis.
I hope I helped! :)