What is the meaning of That's_life?

Expressing an acceptance of misfortune.

Source: wiktionary.org