Rainwater flows into the tank when it rains (blue bars). Normal houshold water demand lowers the level of water in the tank (blue line).
Mains water can be used to "top-up" the tank during dry times.