RDTs function by detecting specific biomarkers such as antigens, antibodies, or nucleic acids related to a particular pathogen. For example, a common type of RDT is the lateral flow assay, similar to a home pregnancy test, which uses capillary action to move a sample across a test strip. If the target pathogen is present, a visible line appears.