Aspirin has a free carboxylic group (-#COOH#, top part) corresponding to the molecule of salycilic acid and an ester group (acetyl -#OCOCH_3#, right part) formed by a molecul of acetic acid (#HOCOCH_3#) condensed with the orthohydroxyl (-#OH#) group of salycilic acid.