The condition of an environment in which free oxygen is lacking or absent.