How does RNA and Plasmid DNA get dissolved in Isopropanol step of DNA isolation?

What makes Isopropanol eat away all the RNA and Plasmid in DNA isolation?