Like most fish, goldfish breathe underwater using gills. Gills are thin, feathery structures located on either side of the fish's head. Inside the gills, tiny blood vessels absorb oxygen from the water.
Goldfish breathe by taking water in through their mouths and passing it over their gills. As water flows over the gill surfaces, oxygen diffuses into the bloodstream, and the fish expels the water through the gill openings.
It is a common misconception that goldfish use a labyrinth organ to breathe air. That adaptation belongs to certain other fish, such as bettas and gouramis. Goldfish rely entirely on their gills to extract oxygen from water.