Boric acid is an acid because its molecule
Because of the small size of boron atom and presence of only six electrons in its valence shell, B(OH)3 accepts a pair of electrons from OH- ion of H2O, releasing a proton.
The reaction mechanism is: