You don’t need a church or temple to pray and get in touch with god.
Many people think of God as a very distant, unreachable power. For them God is not close and their prayers are very formal. A prayer is something special and can be in many forms, not only certain words. But you need closeness, your heart should be in your prayer.
The aim of each prayer is getting close to God. A prayer can be in any form. Different religions suggest different ways of praying and those who did not learn any way of praying, like children, have their own prayers.