What is the purpose of stage directions?

What is the purpose of stage directions?