If Jesus is God, why did he pray?

Why did Jesus pray to the Father throughout the Gospel, if he himself is also God and part of the trinity? Wouldn’t that be like praying to himself?

These links should help you understand Jesus’ prayer in the Garden of Gesthemane. If you have any further questions or concerns that are not answered by these links, please contact Catholic Answers directly.
Recommended Reading:
**
[LIST]
*]
If Jesus is God, why would He pray to Himself?**
]* To whom did Jesus pray?**
[/LIST]

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.