Polystyrene is produced through the polymerization of styrene. This process involves the linking of styrene molecules into long chains, creating a solid material. The production involves various chemical reactions, often initiated by heat or catalysts, which can result in different forms, such as solid polystyrene or expanded polystyrene foam (EPS).