Fix all of the grammatical errors in the given sentence.
Thanks to modern research and development, the aging process has been made lesser painful not only to the elderly, but to the societies as well.
Thanks to modern research and development, the aging process has been made less painful not only to the elderly but to societies as well.