Advances in spectroscopy now enable researchers to obtain information about chemical and physical components in food or biological materials at the molecular level. Various spectroscopic techniques (e.g., atomic absorption spectroscopy, Raman and Fouriertransform infrared spectroscopy, near infrared spectroscopy, nuclear magnetic resonance spectroscopy, mass spectroscopy, X-ray fluorescence spectroscopy, ultra-violet spectroscopy) have been used to study structure-function relationships in foods (both liquid and solid) to improve overall food quality, safety and sensory characteristics; to investigate fungal infections in plant materials (e.g., fruits, seeds); or to study mobility of different chemical components in food materials. Processing, analyzing, and displaying these data can often be difficult, time-consuming, and problem-specific. Chemometrics is well established for calibrating the spectral data to predict concentrations of constituents of interest. Similarly, proteomics deals with the structure-function relationship of proteins. Since most of the food processing industries are becoming increasingly automated, there is a need to understand how the spectroscopic data can be used for automation. In this paper, we have provided basic working principles of the above mentioned spectroscopic techniques, examples of the use of spectral data in food processing, methods of analysis of spectral data and their integration in the automation process.