Following every meritorious act, the Buddhist community have a good habit of sharing the merits with all sentient beings including men & women, children & elders, humans & non-humans, Devas-Brahmas & all sentient beings. They even transfer merits to all the Departed Ones. This way not only they themselves feel blessed and comfortable but also all the other sentient beings are benefitted with many different ways. This is such a noble act by the Buddhist community to be grateful and thankful to their departed ones. It is a wonderful sense of gesture when they think of Brahmas & Devas with respect and appreciation and share the merits they accrue. It is even more amazing when they think of their Departed Ones with a sense of gratitude & thankfulness. You can always use these Pali stanzas and their meanings following your Dāna (Generosity), Sīla (Morality), Bhāvanā (Meditation) activities.