It comes from the ancient Egyptian word kēme meaning "black land" which referred to the fertile soil of the Nile Valley.
This word evolved into the Greek word khymeia meaning "alchemy" which referred to the ancient practice of transmuting metals and creating elixirs.
Over time, khymeia evolved into the word chemistry which is now the study of matter and its properties.