What is the function of a moss’s rhizoid?

What is the function of a moss’s rhizoid?