DNA microarrays contain thousands of DNA probes attached to a solid surface that are used to simultaneously measure gene expression levels in a sample. The sample's DNA or RNA is extracted, labeled, and hybridized to the microarray to bind to complementary probes. A scanner then detects the bound material's fluorescence intensity to quantify gene expression levels. This allows researchers to analyze expression patterns and identify genes that are differently expressed under different conditions, such as disease states or drug treatments.