Difference between Location & Warehouse in Erpnext?

What’s the difference between location & warehouse in erpnext.
For example when a sales transaction is made, how can we select the location / warehouse.
And inventory is maintained in Location or Warehouse?

Location is a field to link, follow and locate fixed assets (that as products in the erp, do not carry stock).
On the other hand, the Warehouse is where the inventory items that carry stock need to be placed.