I Corinthians 15:29, Why then are they baptized for the dead?

I Corinthians 15:29, Why then are they baptized for the dead?