The motif Prayer is a part of: Ritual
Faith, speech, words, ritual
Prayers in a religious sense of the word, are adressed to one or more gods, divine or sacred persons in anticipation of help, blessings or a good relationship.
There are prescribed prayers, e.g. the Lord's Prayer and Ave Maria, and there are prayers, which are spontaneous and individual. Both kinds are present in Andersen's tales.
She rubbed another match against the wall. It became bright again, and in the glow the old grandmother stood clear and shining, kind and lovely.
"Grandmother!" cried the child. "Oh, take me with you! I know you will disappear when the match is burned out. You will vanish like the warm stove, the wonderful roast goose and the beautiful big Christmas tree!"
And she quickly struck the whole bundle of matches, for she wished to keep her grandmother with her. And the matches burned with such a glow that it became brighter than daylight. Grandmother had never been so grand and beautiful. She took the little girl in her arms, and both of them flew in brightness and joy above the earth, very, very high, and up there was neither cold, nor hunger, nor fear-they were with God.