Seven people were burnt alive and two were critically injured in an illegal firecracker-manufacturing factory in the Bhiwadi town of Rajasthan's Khairthal-Tijara district on Monday, officials said.