On reaction with sodium carbonate, carboxylic acids produces carbon dioxide gas which turns limewater milky whereas alcohols do not show any reaction. This experiment can be used to distinguish an alcohol and a carboxylic acid.
Reaction of Carboxylic acid with sodium carbonate:
2CH3COOH+Na2CO3→2CH3COONa+H2O+CO2