Some of the chemicals that make up living organism have only few structures (like DNA) other have many different structures (like proteins). Why might this be the case?

Some of the chemicals that make up living organism have only few structures (like DNA) other have many different structures (like proteins). Why might this be the case?