In medical imaging, dyes known as contrast agents are used to enhance the visibility of structures or fluids within the body. For example, fluorescent dyes are employed in techniques like fluorescence imaging to detect and monitor tumors. These dyes can bind to specific cancer markers, making it easier to identify the presence and extent of the disease.