DNA microarrays are solid surfaces with DNA probes attached in an organized grid pattern that allow analysis of tens of thousands of genes simultaneously. They work by hybridizing fluorescently labeled cDNA or RNA samples to complementary DNA probes on the array, then using a scanner to detect which genes are expressed based on the fluorescent signals. The two main types are cDNA microarrays which use amplified cDNA fragments as probes, and oligonucleotide arrays which use short DNA sequences as probes.