Lewis acids accepts electrons and Lewis bases donates them.
CO2 accepts electrons, so it is a lewis acid. One way to visualize this is by looking at the mechanism of oxidizing the carboxyl group. The COOH (a reduced form of CO2) loses its electrons and turn into CO2.