Upstream

Term applying to functions or facilities close to the wellhead. Drilling and production are generally upstream processes in the oil patch while refining and marketing are downstream.