How does carbon dioxide and other greenhouse gasses contribute the greenhouse effect?

it contributes by creating a lot of them that is why they make the greenhouse effect