When conc. sulfuric acid is added to cholesterol, a water molecule is removed from C3 of cholesterol molecule, and it is oxidised to form3,5-cholestadiene.This product is converted to a polymer containing a chromophore which results in the green colouration indicating a positive test.