C5H10NCl with calcium hypochlorite . The resulting chloramine undergoes dehydrohalogenation to afford the cyclic imine. Uses Piperidine is used as a solvent and as a base . The same is true for certain derivatives: N-formylpiperidine is a polar aprotic solvent with better hydrocarbon solubility than other amide solvents, and 2,2,6,6-tetramethylpiperidine is