What is the difference between a compact and economy-sized car?

These two terms are typically used at car rental agencies to refer to the size of the car, with economy the smallest available rental car and compact one size larger.