If you type a number followed by a period, hyphen, or right parenthesis, Word creates a number list.
This is done automatically - whenever you write a number and then place either one of those three things, Word will automatically form a number list. You can turn this feature off if you don't want to number everything, but I think it's quite useful.