What is the meaning of Gristmill?

A mill that grinds grain, especially grain brought by a farmer to be exchanged for the resulting flour (less a percentage).

Source: wiktionary.org