There are many different kinds of prayer. Yet all prayer has one basic purpose. We pray not to get something, but to open up a two-way street between us and God so that we (and others) may inwardly become something beautiful that we share with others.
Just as each soul spark of every living cell in our bodies makes up that which we call our soul, so too do all living souls in the world cumulatively make up part of a universal soul. Indeed, mysticism teaches us that the soul giving us vitality is connected to, and draws sustenance from, a universal soul.