Observations and chemistry of interstellar refractory elements