A flute is a wind instrument because it produces sound by the flow of air across an opening. In contrast, drums are percussion instruments, while violins and guitars are string instruments. Wind instruments require the player's breath or a mechanical air supply to create vibrations.