Why is water constantly running into my toilet?

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