What is the meaning of Wear_two_hats?

To have two different roles.

Source: wiktionary.org