We review and compare the electromagnetism principles underlying two major biosensing techniques based on distinct optical phenomena: Attenuated Total Reflection and Surface Plasmon Resonance. We explore how these spectroscopic methods enable biosensing applications, such as identifying biomolecules in blood. Additionally, we discuss how future research into other spectroscopic techniques utilizing evanescent waves can further advance biosensing capabilities.