Where is the acid in DNA/RNA?
The phosphate ester groups which connect the nucleotides contain one acidic proton at their OH group, and two at the end of each strand. As you can see here, here and in the picture below (with the groups marked turquoise), most of these groups are deprotonated depending on pH. They act as Brønsted-Lowry acids.