A dowry is said to serve three functions frequently.
First, it provides the bride and groom with the funds and materials to construct a house together.
Second, the loss of a dowry protects the bride if her husband becomes violent and/or the marriage ends in divorce.