The reaction between a ketone and ammonia results in an imine and byproduct water. This reaction is water sensitive and thus drying agents such as aluminum chloride or a Dean–Stark apparatus must be employed to remove water. The resulting imine will react and decompose back into the ketone and the ammonia when in the presence of water. This is due to the fact that this reaction is reversible: