What is the meaning of Goodness_gracious?

Expressing great surprise.

Source: wiktionary.org