You need to know their structure, how they clean things (analysis in terms of intermolecular forces, micelles, hydrophobic, hydrophillic etc.), advantages and disadvantages of each (such as why would you use a detergent over a soap which is because of hard-water or environmental impacts of soap...