Amino acids such as can polymerise to form polyamides. Hydroxycarboxylic acids such as can polymerise to form polyesters.
Compare the formation of a polyamide from amino acids with the formation of a polyester from hydroxycarboxylic acids. In your answer, refer to the functional groups involved, the type of polymerisation, the small molecule eliminated, and the linkage formed.