Bipartite graphs are equivalent to two-colorable graphs. All acyclic graphs are bipartite. A cyclic graph is bipartite iff all its cycles are of even length.
The second option is not bipartite because it has a triangle (odd length cycle) subgraph (shown in magenta color below).
All other graphs are having cycles of even length and hence are bipartite.
So, the correct answer is $(B).$