What is the function of metaphor in this line from the passage?
It was the blood-stained gate, the entrance to the hell of slavery, through which I was about to pass.

Q&A Education