GO:0003677: DNA binding
Any molecular function by which a gene product interacts selectively and non-covalently with DNA (deoxyribonucleic acid).