Why an RO unit has to be connected to drainage?

An RO unit has to be connected to drainage to discharge the waste water produced during filtration process which brings away the impurities filtered by the RO membrane. This prevents clogging and fouling of filters.