A flute changes notes by altering the effective length of its air column:
The key mechanism (levers, rods, and pads) allows the player to open and close holes rapidly and ergonomically. The standard concert flute's range is typically C4 (middle C) to C7 (three octaves higher), with professional models extending a bit lower (B3) or higher.