Original sentence: Prayer  is an action or practice of communicating, commonly with a sequence of words, to a deity or spirit for the purpose of  worshiping, requesting guidance, confessing sins, or to express one's thoughts and emotions.The words of the prayer may take the form of a hymn, incantation, or a spontaneous utterance in the praying person's words
Edited sentence: Prayer  is an active effort to communicate with a deity or spirit either to offer praise, to make a request, seek guidance, confess sins, or simply to express one's thoughts and emotions.The words of the prayer may either be a set hymn or incantation, or a spontaneous utterance in the praying person's own words