What is the chemical composition of ozone,

carbon dioxide, salt and water

Ozone is O3.

Carbon dioxide is CO2.
There are thousands of salts. If you mean table salt, it is NaCl.
Water is H2O.