The acidity of a compound depends on the stability of the conjugate base formed after donating a proton (H⁺). When an alcohol (R-OH) loses a proton, it forms an alkoxide ion (R-O⁻), where the negative charge is localised on the single oxygen atom. This is relatively unstable. When a carboxylic acid (R-COOH) loses a proton, it forms a carboxylate ion (R-COO⁻). The negative charge in the carboxylate ion is delocalised over two oxygen atoms through resonance. This spreading out of the charge makes the carboxylate ion much more stable than the alkoxide ion. A more stable conjugate base means the parent acid is more willing to donate its proton, making it a stronger acid.