The white deposits around plumbing fixtures are mineral deposits from tap water. Typically, this connects to your water hardness.
Another name for this white build-up is limescale or calcium deposits. While not harmful to your health, it’s not suitable for plumbing. There are ways to test the hardness of your water if this is a concern.