Demolition Man presents an interesting look at the future of 2032, but it is the mystery of the three seashells that has become the most iconic aspect of the movie. In Demolition Man, Sylvester Stallone plays John Spartan, a tough, rule-breaking cop who is framed for a crime and cryogenically frozen for 40 years. Spartan is awakened in the year 2032 in San Angeles and tasked with stopping his old enemy Simon Phoenix (Wesley Snipes) who wreaks havoc in the peaceful and crime-free utopia. However, he also has to contend with being a fish out of water in the new society with plenty of changes, including the three seashells method of using the bathroom.
https://screenrant.com/three-seashells-demolition-man-function/