What contribution does mythology make towards the improvement of society?

On one side we have sciences and technology,which have eased our lives through inventions but what is the contribution of mythology?