The fill valve is equipped with a float that rises and falls with the water level inside your toilet’s tank. As the float falls, it opens the valve and allows water to fill the tank. Once the water reaches a certain level, the valve will close and shut off the water supply to the tank.