Oh - This is an interjection. It offers an emotional outlet of joy. It calls attention to the fact that something special is going on. Stop what you are doing and pay attention to the words that follow. This is a verb - an action word.
Activity is required.
The one praying is encouraging all to participate and not just be spectators. We are to be involved and active in offering this prayer. Thanks - This is a noun and is the direct object of the verb, give. Thanks is acknowledging goodness. Showing appreciation for gifts received.