Drains usually make a gurgle noise when air is trapped in the drain pipe and can't be relieved.
When a drain gurgles it's likely that your drains vent "usually on top of the roof" is clogged somewhere and not letting air in and out which is crucial to a properly working drain.