If the question is related to Wilson's play, the choice of symbol is a powerful one. Troy's entire existence is generated by fences. Troy's building of the fence in the backyard is designed to keep out death, and it is unfinished. Emotionally, Troy's own background as a child of an abusive father has helped to create a type of fence around his own ability to relate to Cory. Race has helped to erect a fence around Troy and his dreams, and this is invariably transferred to his inability to understand Cory and his own dreams. At the same time, as a garbage man, Troy feels that fences are what keeps him from enjoying the same type of life as the people whose trash he collects. The "better life" seems to be demarcated by the fences that divide. Emotionally, there are fences which prevent Cory from embracing his wife out of love as opposed to duty. The fact that most of the play takes place within the confines of the fence helps to illuminate the overall effectiveness that there are barriers in our physical and emotional world that preven full immersion.
Are you perhaps referring to Robert Frost's poem 'Mending Wall' here? Of course he is not the only writer to discuss the themes of barriers, divisions, fences and walls in our society and in Nature.
In that particular poem, Robert Frost actually talks about two forms of human-made barier fences and walls. He begins by challenging the old saying 'good fences make good neighbors' in which man protects himself from confrontation and loss of privacy as well as damage and loss of property through the building of sound fences. The better the fence, the better (more considerate,dependable,respectful) the neighbor.Frost challenges the assumption that all things think the same about the benefits of this arrangement:
'Something there is that does not like a wall'
Then Robert Frost goes on to tell us what it is. It could be nature (such as the soil, water, moles, birds) which totally ignore man's superficial and pointless barrier and run under, across or on top of it. Some people think that he may have been referring to the Cold War or even the Berlin Wall here. Frost was actually in England at the time he was inspired to write this poem...he was reminiscing about his much-beloved walled landscape back home in the US.