Our Betta fish has a Labyrinth organ, meaning it can breath air from the surface of the water.
“When they gulp air from the surface it gets forced into the labyrinth organ. In the labyrinth there are lots of small maze-like compartments of thin boney plates called lamellae.
The lamellae are covered with membranes. Blood passes through the membranes and the oxygen is absorbed into the bloodstream.
If a labyrinth fish ends up out of the water it can stay alive for a long time if it stays moist. In fact they can even crawl across land to a different body of water if they have to.” -source