The Four Ends of Sacrifice:
Adoration, Thanksgiving, Reparation, Prayer
Thanksgiving: To give thanks to God for His benefits. "Put in one heap," says St. Leonard of Port Maurice, "all the gifts, all the graces, you have received from God - so many gifts of nature and of grace; yes, the very life, too, of His Son Jesus, and His death suffered for us, which in themselves immeasurably swell the great debt which we owe to God - and how shall we ever be able sufficiently to thank Him? The law of gratitude is observed by the very beasts, who sometimes change their cruel anger into gentle homage to their benefactors; and how much more, of course, has this law not to be observed by man, gifted as he is with reason and so nobly endowed by the divine liberality!
"Now, the way most fully to thank our good God - our supreme benefactor - is taught us by the Royal Psalmist, holy David, who , led by divine inspirations to speak with mysterious references to this divine sacrifice, indicates that nothing can sufficiently render the thanks which are due to God, excepting holy Mass: 'I will uplift on high the chalice of the Lord,' that is, I will offer a sacrifice most grateful to Him, and with this alone I shall satisfy the debt of so many and such signal benefits . . . He Himself also gave us the example when, in the last supper, before the act of consecration in that first Mass, He raised His eyes to heaven, and gave thanks to His heavenly Father: 'Elevatis oculis in coelum, Tibi gratias agens fregit'. " (1)
Prayer
God, of Whose mercies there is no number, and of Whose goodness the treasure is infinite; we render thanks to Thy most gracious Majesty for the gifts Thou has bestowed upon us, evermore beseeching Thy clemency, that as Thou grant the petitions of them that ask Thee, thou will never forsake them, but will prepare the reward to come. Through our Lord Jesus Christ, Thy Son, Who lives and reigns with Thee in the unity of the Holy Ghost, God, world without end. Amen.
Secret
Receive as a sweet savor, O Lord, this sacrifice of thanksgiving: do Thou in the future shield from all harm those whom until now Thou has been pleased to hear and to save: and grant that they may serve Thee better and love Thee more. Through our Lord.
Post Communion
O God, Who suffers no one that hopes in Thee to be over afflicted, but listens kindly to their prayers: we thank Thee for having heard our prayers and granted our desires, and devoutly entreat Thee that what we have received may make us worthy to be delivered from all adversities. Through our Lord.
(1) Lassance, Rev. F. X.; 1945; The New Roman Missal; p. 18-19.