A condensation reaction (also known as a dehydration reaction) is a chemical reaction in which two molecules or moieties react with each other with the concurrent loss of water or ammonia. It may be considered as the opposite of a hydrolysis reaction, ie, the cleavage of a chemical entity into two parts by the action of water.