Chemistry is odd when it comes to nomenclature: there is a "proper" way to describe a chemical (compound) with regard to it's structure and functionality but most chemists find this too tiresome and make up "trivial" names. In other cases they mix up part "proper" and part "trivial" names. For example: methyl, ethyl, propy, butyl are "proper" words meaning CH3, C2H5, C3H7, C4H9 alkyl chain additions, respectively. Whereas paraben is the "trivial" name for hydroxybenzoic acid. The proper names are tightly controlled and there are rules as to how you name a new compound whereas the trivial name can come from anywhere (although they usually allude to their origin eg aflatoxin A comes from Aspergillus flavis (A. flavis)). As for what chemicals go in what products a chemist will know that he wants his concoction to have certain effects and will add compounds with a known action ie to feel soapy, add a surfactant; to be good for the skin, add vitamin E (tocopheryl acetate); to be at a particular pH, add a buffer etc etc What is the most important is that all of these compounds have passed stringent toxicological tests to show they are safe to use on humans.