Are the Father, the Son, and the Holy Spirit separate entities?

Religious question coming from someone who was raised Christian but is now agnostic. When the Bible references God as the Father, the Son, and the Holy Spirit, does it mean three different entities or just different names that God takes on? Was a bit confused on the meaning and google just takes me to bible verses that I’m not too sure on how to interpret.