Validation checks incoming data with rules like required, email, max:255, unique:users. On failure, Laravel redirects to the form with the errors and the old values, or returns a 422 JSON response for an API. validated() returns the validated data.
Example
$data = $request->validate([
'email' => ['required', 'email'],
]);