Under acidic pH, RNA can be separated from DNA and other molecules due to the differential polarity given by its hydroxyl groups which maintains it in solution.
Based on the methods described in the following protocols:
Heath, E. Low pH RNA isolation reagents, method, and kit. USA patent (1999).
Sambrook, J. & Russell, D. Molecular cloning: a laboratory manual. 3rd edn, (Cold Spring Harbor Laboratory, 2001).
Chomczynski, P. & Sacchi, N. The single-step method of RNA isolation by acid guanidinium thiocyanate-phenol-chloroform extraction: twenty-something years on. Nature protocols 1, 581-585, doi:10.1038/nprot.2006.83 (2006).