The status code summarizes the result of the request: 2xx success (200, 201, 204), 3xx redirection, 4xx client error (400, 401, 403, 404, 422, 429), 5xx server error (500, 503). Choosing the right code lets clients react correctly.
Example
HTTP/1.1 404 Not Found