Prayer is a supernal gift of our Father in Heaven to every soul. Think of it: the absolute Supreme Being, the most all-knowing, all-seeing, all-powerful personage, encourages you and me, as insignificant as we are, to converse with Him as our Father. Actually, because He knows how desperately we need His guidance, He commands, "Thou shalt pray vocally as well as in thy heart; yea, before the world as well as in secret, in public as well as in private." ("Using the Supernal Gift of Prayer,"April 2007 General Conference)Prayer touches on one of the seeming paradoxes of the gospel: that Heavenly Father is both the creator of innumerable worlds and a loving Father who cares personally and individually for His children. I am far too casual in my prayers at times.
The Brother of Jared had a sense of Who he was dealing with when he prayed:
O Lord, and do not be angry with thy servant because of his weakness before thee; for we know that thou art holy and dwellest in the heavens, and that we are unworthy before thee; because of the fall our natures have become evil continually... (Ether 3:2)Despite the fact that God clearly knows what's best for us, we still need to exercise our agency to ask for what we need:
...nevertheless, O Lord, thou hast given us a commandment that we must call upon thee, that from thee we may receive according to our desires. (Ether 3:2; see also 1 Kings 8:26-30)In a 2017 Face-to-Face broadcast, President Eyring remarked:
I always worry when someone is speaking to Him in too familiar a way, because it is not easy. Heavenly Father's words—His ideas—are not exactly ours, and so the idea of having, really, a conversation, where you're chatting with Heavenly Father is probably a little bit of a lofty goal. My own feeling is that: I pray as if He's there, as if He's listening. And He is listening...we're dealing with God the Father and His Son Jesus Christ, and they are so far above us in terms of our powers... ("Face to Face with President Eyring and Elder Holland" at 38:31)
The Bible Dictionary sums things up beautifully:
Prayer is the act by which the will of the Father and the will of the child are brought into correspondence with each other. ("Prayer")
May we petition the Lord in faith and be ready to receive His guidance and His will.