Original: The word saw its first scientific use within the field of optics to describe the rainbow of colors in visible light when separated using a prism; it has since been applied by analogy to many fields other than optics.
Simplified: They used the word to describe the rainbow of colors in visible light when separated using a prism.