The answer is:
It introduces the reader to the man being executed, Farquhar.
In the passage from "An Occurrence at Owl Creek Bridge," the author Ambrose Bierce provides a description of Farquhar, a plantation and slave owner who has been captured by the Union army. As a result, he is about to be executed by hanging him from a bridge during the American Civil War.