The large muscles powering the pectoral fins generate most of the heat in the opah. In addition to the heat they generate while moving, these muscles have special regions that can generate additional heat without contracting. The opah has a thick layer of fat that insulates its internal organs and cranium from the surrounding water. However, fat alone is insufficient to retain heat within a fish's body. The gills are the main point of heat loss in fishes as this is where blood from the entire body must continuously be brought in close contact with the surrounding water. Opahs prevent heat loss through their gills using a special structure in the gill blood vessels called the rete mirabile. The rete mirable is a dense network of blood vessels where the warm blood flowing from the heart to the gills transfers its heat to the cold blood returning from the gills. Hence, the rete mirabile prevents warm blood from coming in contact with the cold water (and losing its heat) and also ensures that the blood returning to the internal organs is warmed up to body temperature. Within the rete, the warm and cold blood flow past each other in opposite directions through thin vessels to maximise the heat transferred. This mechanism is called a counter-current heat exchanger.