The KOH test is used to identify Gram-negative and Gram-positive bacteria as an alternative to the Gram stain. It works by dissolving the thin peptidoglycan cell wall of Gram-negative bacteria when exposed to 3% KOH, lysing the cell and releasing viscous DNA strands. Gram-positive bacteria are not lysed by KOH and do not release DNA. To perform the test, a bacterial sample is mixed with 3% KOH on a slide. Gram-negative bacteria will appear viscous and form mucoid strings within 15 seconds, while Gram-positive bacteria will not become viscous or form strings.