Recently, I have been using detergent tablets in a water-soluble package for my dishwasher.

How does the packaging get dissolved in water?