When a toilet is flushed on a cruise ship, the sewage travels to the onboard treatment plant. Here the waste is filtered before it enters an aeration chamber. The aeration chamber cleans the waste. It is then sterilized using UV light and released into the ocean when clean enough to do so.