Purpose of value=?

I am currently doing this challenge. What is the purpose of the

value={this.state.input}

in

“<input value={this.state.input} onChange={this.handleChange}></input>” ?

When I take it out, the DOM still seems to be updating as the user types into the input bar.

Setting the value attribute is what makes it a controlled component.