Observation of spectral lines in the exceptional GRB 221009A