Prayer is a solemn request, praise or thanksgiving made to God, or (depending on one's religion) some deity, idol or other object of worship.
The term "A prayer" means a specific form of words for use in prayer. A prayer booh os a collection of prayers.