A fence divides our garden from theirs.

A fence separates our garden from theirs.

Do both of the above two versions mean about the same?

In addition, could a fence be either made up of trees or concrete steel? Thanks.
Hi Angliholic

Yes, both are OK although I personally prefer 'separates'.

I would not refer to a line of bushes or trees between two gardens or yards as a 'fence'. You might say that something like that "serves as a fence".
Thanks, Yankee, for the clear reply.

Got it.