The Poké Flute is not in Pokémon Red/Blue/Yellow (Kanto games). It exists only in Gold/Silver/Crystal (Johto).
Function: Wakes sleeping Pokémon (Snoring Snorlax, wild encounters). In Gen II, it also changes the radio to the "Poké Flute" channel on the Pokégear.
In Red/Blue/Yellow, use the Poké Flute item (from Mr. Fuji in Lavender Tower) directly from your bag to wake Snorlax.