Jesus created the universe and gave birth to Mary and the other guy, but sacrificed himself for the greater good and Mary rebirthed Jesus, only for Jesus to then die again.
Anyways it depends on your religious denomination. I learned as a kid that they are 3 separate entities that act in one purpose, but I know a lot of religions believe they are one being that serve 3 purposes