Some professors may be men and vice-versa.
Some doctors may be men and vice-versa.
Some doctors may be men and professors as well.