Which word means to identify the nature of a problem especially an illness?

A ) infection

B ) diagnose ✅

C ) symptom

D ) disease