It might be one of the water treatment devices intended to reduce the build-up of limescale. Something lkike this:

[Linked Image from bridisco.co.uk]