This is called a tank house. It gave the water some height so that it could run. Homes used those tank houses to store vegetables and even milk because the temperature was much cooler inside the tank house. There are troughs that you could run water through.
It could have been a room for a servant, or used as a workshop.