If the refill valve is leaking, the tank overfills and the excess water runs into the overflow pipe and into the bowl.