In Portuguese, "a química" is "the chemistry" indeed.
"O químico" is "the male chemist" (The one who works with "química" - chemistry).
But, if you make it female, you will end up with "a química". It's indeed confusing, but not wrong.
One could say: a química trabalha com química. (the female chemist works with chemistry)