What does word command do?

Can anyone explain it with example?