Carbon cycle and greenhouse effect