In histology, genetic profiling is used to examine tissue samples at the molecular level. This involves extracting DNA from tissues and analyzing it to detect genetic mutations, alterations, and expressions that may be involved in diseases like cancer. For instance, the detection of specific biomarkers in tumor tissues can help in diagnosing the type of cancer and determining the best course of treatment.