Warehouse groups allow you to map orders from specific sales channels to a certain warehouse. This allows you to keep accurate inventory across not only one warehouse, but multiple.
Here is a quick tutorial on how warehouse groups work and how to best utilize the feature: