Greenhouse gases are those gases that absorb and emit infrared radiation, contributing to the greenhouse effect, which warms the Earth's atmosphere.
The primary greenhouse gases are:
Water vapour (H\(_2\)O): It is a significant greenhouse gas and traps heat in the atmosphere.
Ozone (O\(_3\)): It acts as a greenhouse gas, particularly in the troposphere, by trapping infrared radiation.
On the other hand:
Iodine (\( \text{I}_2 \)): It is not a greenhouse gas because it does not absorb or emit infrared radiation.
Molecular hydrogen (H\(_2\)): It is also not a greenhouse gas, as it does not interact with infrared radiation significantly.
Thus, the greenhouse gases from the given options are:
\[
\text{(A) Water vapour and (B) Ozone.}
\]
% Explanation
Greenhouse gases include CO\(_2\), CH\(_4\) (methane), water vapour, nitrous oxide (N\(_2\)O), CFCs, and ozone. These gases trap heat in the atmosphere, leading to the greenhouse effect.