How does galena rocks form?

Galena not a rock its a Economic mineral of lead. Formula of Galena is PbS. Galena and Sphalerite(ZnS) Found togather at Hydrothemal deposits.