@Valid ensures data meets constraints before method execution.
By placing @Valid on a method parameter, Spring checks the data against validation annotations like @NotBlank. If the input doesn't meet the criteria, it returns an error response immediately, preventing faulty data from reaching the service layer.