A breathing simulator is a device designed to replicate human breathing patterns and lung mechanics for various applications, including medical…