Comparison of Water and Carbon Dioxide Molecules