Microarrays are used to measure the expression levels of thousands of genes simultaneously. This technique is particularly valuable in identifying gene expression changes in response to toxicants. By comparing expression profiles between treated and untreated samples, toxicologists can identify genes and pathways affected by toxic exposure.