We sometimes find ourselves drawn to prayer as a way to achieve our desires, but how exactly does this work?