What happens to jointly owned property when one spouse dies?

When spouses jointly own property and then one spouse passes away, the property is automatically passed to the surviving spouse. An example would be the marital home owned by both spouses.