Why do children sometimes leave milk and cookies out on Christmas Eve?

Leaving milk and cookies out the night before Christmas is a tradition based on the assumption that Santa Clause will come down the chimney overnight to deliver presents and he might enjoy a snack.