Mechanism of Acidity - Boric Acid
Boric acid is a Lewis acid, therefore when in water it accepts the lone pair from oxygen and becomes $\ce{(OH)3B^{-}-OH2^{+}}$.
From this compound a proton can be donated and this is how boric acid behaves as a Brønsted acid.