The humming produced by ceiling fans is due to the vibrations of the motor, which are amplified by the metal parts of the fan.