In epidemiology, X-rays serve several critical roles. They are used in the identification and tracking of diseases within populations. For instance, X-rays can help in the detection of tuberculosis by showing characteristic lesions in the lungs. They are also used in screening programs to detect cancer, such as mammograms for breast cancer screening.