GO:0003676: nucleic acid binding
Interacting selectively and non-covalently with any nucleic acid.