What’s up with the white rice?

So given my age you would think I should already know this but I don’t and I have a feeling that after I ask I still won’t know. But here it go’s when a couple decides to get married, why do they throw rice at them when they come out of the church?
What’s up with the white rice?
Post Opinion