Identify the functional group present in the following compounds and give their name
CH3CH2CH2COOH
CH3COCH2CH2CH3
1) carboxylic acid, name of the compound = butanoic acid
2) ketone, name of the compound = pentanone