5 "If two brothers are living together on the same property and one of them dies without a son, his widow may not be married to anyone from outside the family. Instead, her husband's brother should marry her and have intercourse with her to fulfill the duties of a brother-in-law. 6 The first son she bears to him will be considered the son of the dead brother, so that his name will not be forgotten in Israel.

Matthew Henry's Commentary on Deuteronomy 25:5-6

Commentary on Deuteronomy 25:5-12

(Read Deuteronomy 25:5-12)

The custom here regulated seems to have been in the Jewish law in order to keep inheritances distinct; now it is unlawful.