The bible teaches us that the father son and the holy spirit are trinity in one God, just that they all have different works they do. The father is God himself who is the planner of everything . The son was sent to this earth by the father to die for our sins and restore salvation in our lives. The holy spirit was sent by the father to come and guide us after the son died and resurrected.
This three in one God have a distinct work they all do. When the son came to this earth, he was baptized by John the baptist and during the baptism the holy spirit came down from heaven and the boic of the father was heard from heaven saying
“This is my beloved Son, in whom I am well pleased” (Matthew 3:16–17).
So we as Christians should always know that they is three God in one working together to achieve same purpose and we refer to them as the holy trinity. They're united as one God, they carry out different purposes to achieve same thing at the end.