A hiccup is an unintentional movement (spasm) of the diaphragm, the muscle at the base of the lungs. The spasm is followed by quick closing of the vocal cords, which produces a distinctive sound.