An enormous amount of scientific language is metaphorical. We talk about a genetic code, where code originally meant a cipher; we talk about the solar system model of the atom as though the atom were like a sun and moon and planets.