There is no reason for every monomer in a molecular chain to be the same. A polymer can be composed of a combination of different monomers.

A polymer composed of a single type of monomer is known as a homopolymer while a polymer composed of two or more different monomers is known as a copolymer. A copolymer is analogous to a metal alloy.