Why does Jesus pray to the Father if they are both the same God?

Why does Jesus pray to the Father if they are both the same God?