From what I have observed of the playwrights, rehearsing really helps the writing process for them because they can see their words acted out and that points out flaws and things that need to be added. So rehearsing is very important to writing as well as being crucial to the final performance. Actors need to rehearse lines so that they can get comfortable enough with the parts to give it their all when they are on stage. And, rehearsing gives playwrights the chance to see how the actors portrayed their plays and whether it was what they expected.
As a participant, I’ve learned that I need to slow down my speech because I naturally talk very quickly but that doesn’t work on stage.