Capacity is the maximum possible population that your Empire can support. You increase Capacity by building Housing
Having more Capacity than Happiness doesn't really effect the game other than the "face" icon in the upper left will frown. (If Capacity == Happiness, you also get the frown)
As of June 2010 there are reported problems from users trying to have 50,000 population or more, so this is not recommended.