What is the function of an anesthesia workstation's gas delivery system and how does it ensure patient safety?