Title: Emission and absorption lines of QSOs and properties of the gas that produces them