Factories are planetary improvements that produce production credits. Each Factory requires one population (or one Robot) and one resource in order to produce one production credit each turn. There is no penalty for having factories that cannot operate, its just not efficient.

Factories can be transported via freighters to other planets.