Scuba Features

How do cave divers return to the entrance without running out of gas?
Of course this is a very important part of cave diving and is one of the first things learnt during…