Toilet cisterns store water for flushing. When the toilet is flushed, the flushing mechanism empties the water into the pan which triggers another mechanism to open the clean water pipe and fill up the cistern for the next flush. If you need to replace the flushing mechanism, you can do this separately without replacing the whole cistern.