A substance composed of molecules containing a few of one or more species of atoms or groups of atoms (constitutional units) repetitively linked to each other.