I don’t know if this is the appropriate illustration, but pls do correct me if it’s wrong. The doctrine of the Trinity can be compared to a water but placed in different containers, each containers have different shapes, size and functions but inside they all have same substance, water. Same chemical composition (H2O), externally they are different but internally they’re the same. I hope that helps.