Which of the following processes takes place in the carbon cycle?