Identifying aldehyde, ketone, carboxylic acid, and ester.?

Can someone explain the structural difference between a aldehyde, ketone, carboxylic acid, and an ester? When looking at the structres where/what are the "red flags" in identifying them?
6 answers 6