Hybrid capture is a molecular technique used for detecting specific DNA or RNA sequences. In the context of cancer, it is primarily used for identifying the presence of viral DNA, gene mutations, and other genetic abnormalities that may contribute to cancer development and progression.