The flute is an open organ pipe. The length of the air column in it can be changed by covering the holes with fingers. Thus, different frequencies can be produced.