What is the meaning of -wich?

Village; settlement; hamlet; trading centre.

Brine spring; well.

Sandwich.

Source: wiktionary.org