Nylon is formed through a polymerization process involving petrochemical raw materials. For Nylon 66, hexamethylene diamine and adipic acid undergo condensation polymerization, releasing water and forming long polymer chains. For Nylon 6, caprolactam is used in a ring-opening polymerization, creating the polymer without byproducts. The resulting molten polymer is extruded into fibers, which are then cooled, solidified, and drawn to increase strength and elasticity.