Ethidium bromide works by intercalating, or inserting itself, between the base pairs of the DNA double helix. This intercalation causes the dye to fluoresce when exposed to UV light. The intensity of the fluorescence is proportional to the amount of DNA present, making it a useful tool for quantifying DNA.