How do lungfishes and other air-breathing fish species transition between water and land?

What are the effects of water pollution on fish respiration and oxygen uptake?
How do fish cope with high-pressure environments in deep waters?