In most articles and texts that I've read, soaps and detergents seem to be talked about collectively. I know that they are both surfactants and that soaps are usually natural, in comparison to detergent which is artificial. However, what are the differences in terms of chemical structure and properties (between soap and detergent)?
NOTE: not the same as Is there an important difference between soap and detergent?, as I'm asking about chemical structure and properties rather than the effects in everyday life.