1. The simplest way is to use a pH indicator. Carbon dioxide dissolves in water to form carbonic acid, which lowers the pH of the solution. Therefore, if you add a pH indicator to a solution that contains carbon dioxide, the indicator will change color. For example, phenolphthalein turns from pink to colorless in the presence of carbon dioxide.
2. Another way to test for carbon dioxide is to use a calcium hydroxide solution. Calcium hydroxide reacts with carbon dioxide to form calcium carbonate, which is a white precipitate. Therefore, if you add calcium hydroxide solution to a solution that contains carbon dioxide, you will see a white precipitate form.
3. Finally, you can also test for carbon dioxide by using a gas chromatography. Gas chromatography is a technique that separates and identifies different gases in a mixture. If you inject a sample of gas into a gas chromatography, you will be able to see a peak for carbon dioxide if it is present in the sample.