Yes, plants need carbon dioxide. No, that doesn’t mean it’s harmless.
“The benefit[s] of increasing CO2 concentrations for plant growth are increasingly being outweighed by the negative impacts, especially of global warming. This is true for natural as well as agricultural ecosystems.”