Ex in a sentence

What does ex  mean?: -previous, the past Sentence Examples: – I have had a lot to deal with since my ex-wife left me for another person. There were a lot ...