In the Ziehl-Neelsen (ZN) staining technique, acid alcohol is used as the decolorizer to differentiate between acid-fast and non-acid-fast bacteria.