Plants take in carbon through the process of :