A carboxylic acid has a carboxyl group , a carbonyl and a hydroxyl on the same carbon atom. An ester has the group between two carbon chains: it is related to an acid, whose has been replaced by an R coming from an alcohol.
Examples
Example 33.5 (Ethyl ethanoate)
The solvent ethyl ethanoate, , smells of pear drops and nail-varnish remover. Its “acid part”, , comes from ethanoic acid and gives the second word of the name, ethanoate; its “alcohol part”, , comes from ethanol and gives the first word, ethyl. A later chapter shows how an ester is made from its acid and its alcohol.