Usage patterns
〈場所〉科にかかるto see a doctor in the ... department
I had a fever, so I went to see a doctor in internal medicine.
〈事〉科を専攻するto major in the ... department/course
She is majoring in literature at university.
〈事〉科を卒業するto graduate from the ... department/course
My brother graduated from the medical department and became a doctor.