in general,tap water is safe to drink,but of course there are some exceptions,for example if you live in certain parts of the world,such as India,China,Tunisia,Africa and so on it can be dangerous as it is not clean nor sanitary checked and there might be parasites that can cause serious medical problems,but most of the countries have good tap water.
I hope it is usefull