Climate is affected by the sun warming the air which causes hot air to rise and form clouds. Rain is beneficial for growth but too much can be dangerous. Greenhouse gases trap heat in the lower atmosphere and contribute to long term changes in global temperatures known as climate change.