The greenhouse effect is primarily caused by excess carbon dioxide (CO2) in the atmosphere, which traps heat. Carbon monoxide is toxic but not a greenhouse gas, carbon tetrachloride is a solvent, and sulphuric dioxide contributes to acid rain but is not the primary greenhouse gas.