In the Catholic theology, there's a concept of Saints, who are basically humans that intercede with God on the behalf of ordinary mortals. People will sometimes address prayers to saints in the hope that the prayer will be more effective. Probably similar in other religions too but I'm pulling from memories of catholic school