As of late, I have been using detergent tablets in a water-soluable packaging for my dishwasher.

How does the packaging get dissolved in water?