You would use compare and contrast because you are comparing a black bear to a polar bear and discussing the differences between the two. The similarities of the black bear and the polar bear are they both are bears, they both have fur, and they both are mammals. Some differences are that polar bears lives in a cold habitat, and black bears lives in a forest type habitat. Also black bears have a smaller nose and larger ears.
Hope this helps you! :)