Gleeok

Gleeok in The Legend of Zelda
The Gleeok makes three appearances in the first game. All are defeated in similar fashion. Using the sword, cut off each of the heads on the beast. Once a head is detached from the body, it will float around the room shooting fireballs at Link. Avoid the fireballs and cut off the other heads and the Triforce piece is yours.

A two-headed version of the beast guards the fourth piece of Triforce, a three-headed version is a mini-boss in the sixth underworld, and a four-headed version of the beast guards the final piece of Triforce

Gleeok in Oracle of Seasons
The Gleeok within the Oracle of Seasons is a two-headed version. It is defeated in a different fashion from its former counterpart. Getting rid of the beast's heads is still the main objective, however, there is one more step before defeating it. Slashing away the head is a harder task, more slashes of sword will detach the heads. Once the heads are detached, the beast will start jumping, causing a massive earthquake in the arena. Using the Roc's Cape is the only way to avoid serious damage from the beast. When the beast is grounded attack with the sword. Continue until he is defeated. He will then give up the Seed of Life, the seventh Essence of Nature

The Minish Cap
Though "Gleeok" is not seen in The Minish Cap, the boss Gleerok is a Gleeok with a rock on it's back. (This information is from the figurine.)

Phantom Hourglass
Gleeok reappears in Phantom Hourglass as the boss of the Temple of Ice and guardian of the Azurine Steel. One of his heads is red and the other one is blue. The red fires a ball of flame and the blue shoots a ball of ice.

Link will be standing on a platform with four pegs near each corner. When one of the heads looses a blast at Link, he will need to attach the grappling hook to two pegs diagonally so as the rope launches the blast back at the other dragon's face, cracking it's mask. In addition with these blasts, the two heads will lunge to snap the rope Link ties, while trying to bite Link as well. They can also sink below the water to cause a tremor that will flood Link's platform, as well as cause chunks of ice to fall from the ceiling and crash into Link. Link can tie the grappling hook to two posts and walk along the rope to avoid the ice chunks. Three blasts to both heads will remove their masks.

Both heads will remove two of the four pegs by snapping them with their jaws. Each head will take turns at trying to bite Link, then will charge up for a powered blast. The red dragon head will loose a fiery blast that will scorch Link, as well as leave a trail of fire on the platform. The blue dragon head will loose a blast of ice that will freeze Link on contact. While charging, however, both dragons will be sucking in energy, exposing their tounges. Link can pull the head down by tieing one end of the grappling hook to a post, and using it as an anchor on the dragon's head. Once down, Link must slash at the dragon head before it recovers. Repeating this process to both heads will defeat the dragon, and Link will obtain a Heart Container, extra sands for the Phantom Hourglass, and the second of the three pure metals, Azurine.

Trivia

 * The masks these creatures wear are similiar to that of the Helmaroc King.