Answer
Molecule B
Work Step by Step
Molecule B is a carboxylic acid because it contains a carboxyl group (-COOH).
Since O is very electronegative, it pulls the electron from the H, allowing for the H to have a more positive charge. As a result, the H ionizes more easily, forming $H_{3}O+$ in solution. This means that molecule B is a H+ donor, so it behaves as a Brønsted-Lowry acid.