The doctrine of the Trinity is one of the most foundational truths of the Christian faith. While the word "Trinity" does not appear in Scripture, the teaching is woven throughout the Bible from Genesis to Revelation. God is one God who exists in three co-equal, co-eternal persons: the Father, the Son, and the Holy Spirit.
This is not three gods (tritheism), nor one God wearing three masks (modalism). Each person of the Godhead is distinct, yet they share one divine essence and nature.