Formation of nylon (a polyamide)
1. Amine and carboxylic acid functional groups react, losing a small molecule - water
2. A polyamide is formed from a monomer molecule containing two carboxylic acid groups (dicarboxylic acid) reacting with a monomer molecule containing two amine groups
3. or a single monomer molecule with both carboxylic acid and amine functional groups
4. -OH + -COOH -> -COO- (+H2O removed)