The compounds benzothiazole and tetrahydroisoquinoline ring systems act as UV-absorbing compounds. There are several different types of melanins considering that they are an aggregate of smaller component molecules, such as nitrogen containing melanins.