how does gold form in the earth

how does gold form in the earth