KITCHENER -- Two people were taken to hospital after a fire at a Kitchener factory on Friday.

Crews were called to Canada Alloy Castings on Manitou Drive around 11:40 a.m. Officials said the fire started in a machine in the facility.

The company creates castings for the oil and gas industry and there was an issue with a machine during the cooling process.

The fire was contained to that machine.

One worker that was hurt was treated for burns at the hospital, while the other was treated for smoke inhalation.

The Ontario Fire Marshal and Ministry of Labour are both investigating.

Work can resume at the facility once the investigation is complete.