How does the contractile vacuole in paramecium help maintain homeostasis?

It pumps excess water out of the cell.