Boric acid is an acid because its molecule
contains replaceable H+ion
gives up a proton
accepts OH-from water releasing proton
combines with proton from water molecule.
Boric acid behaves as a Lewis acid, by accepting a pair of electrons from OH- ion of water thereby releasing a proton.