How did Native Americans use the rainsticks?

The Native Americans use rain sticks as instruments to bring rain. Currently the sticks are used as a popular novelty musical instrument.