Ordered water molecules in an RNA molecule. Hydrogen bonding between water molecules and nucleotides is essential to the three-dimensional structure of an RNA molecule. Magnesium ions form hydrogen bonds with water molecules and with a phosphate oxygen (red) in the RNA.