Good respiratory function is crucial for scuba diving because it allows divers to efficiently exchange gases while diving. Proper breathing techniques and lung capacity are important to avoid difficulties while underwater.