c. 1600, "alchemy," from chemist + -ry; also see chemical (adj.). The meaning "natural physical process" is 1640s, and the scientific study not so called until 1788. The figurative sense of "instinctual attraction or affinity" is attested slightly earlier, from the alchemical sense.