These factory overheads can include lighting costs, salaries for workers, machinery cost, rent for factory, insurance for factory, power costs, fuel cost, etc. Overhead is actually the sum total of indirect material, indirect wages, and indirect expenses.
Factory Cost = Prime cost + sum of all factory overheads.