Bridge and L2

When two interfaces are attached together by a bridge , is it intended to be Layer2 capable ?

A bridge is by definition L2, and acts like a software switch.

Thank you