One is active, one is passive. Both are forms of the past perfect tense.
He has done his homework = he did it, it is now complete
His homework has been done = the homework was completed, but with the emphasis on the homework rather than him
By making the object of a sentence the subject you turn it into the passive which emphasises more the action than the person doing it.