Does carbon dioxide or water have a higher boiling point and why?

clearly, since CO2 is a gas at room temperature, and water is a liquid, water has the higher boiling point.

As to why, google your question, and you will find many discussion on the topic, taking into account several properties of the two compounds.