Placing units inside a building, Town Center, Castle, tower or Monastery to protect them. Garrisoned villagers in a Town Center or tower add arrows to its attack.
Garrisoning villagers in the Town Center is the standard reaction to an early rush. Herbal Medicine makes garrisoned units heal faster.