WDS interview question

how does a web browser work? what is the difference between REST and RESTfull API?