A 3-year-old child died on the spot in a factory in Jetpur.