Outside A/C units

We've all seen these outside cooler/AC thingamabobs on '50s business coupes and the like. But how do they work? Does one simply fill them with ice? It's the only way that makes sense to me.