Yes, a green plant use carbon dioxide when exposed to light for some time.
Step-by-step explanation:
The process of plants converting the sunlight into food is photosynthesis. There are 2 different processes of photosynthesis that exist in nature- Photosynthesis I and II and they both are required to make energy for the plants.
The green pigment present in plants called chlorophyll is what absorbs the sunlight and transfers it to the other cells to initiate the process of photosynthesis.
The light energy is converted to chemical energy which is then utilized by the plants. So yes when exposed to light even for some time will prompt plants to use carbon dioxide to initiate the process of photosynthesis.