What is the difference between 2.2 L and 3.5 L?

I am buying a car soon and I was wondering the difference between 2.2 L and 3.5 L. I know the difference between a 4 Cylinder and a V6 engine but was confuzed about the other part.

Also, what car do you think is better a Cobalt or a Malibu. I'm looking at 2005's and 2006's mainly. Thanks!
18 answers 18