A CSRF token helps protect a web form from cross-site request forgery: an attacker may try to trick an authenticated user into submitting an unintended action from another site. The application generates the token on the server, includes it as a hidden form field, and validates it on every submission. section 2.4
In an interview, distinguish this check from input validation. The token helps establish that a submission came from the application’s form; server-side input validation checks whether submitted values meet expected constraints. Both belong in a secure form workflow. section 2.4

