Grinding allows the coffee to come into more contact with water, which enables a proper extraction of the oils and flavor compounds in the coffee beans.