Water primarily removes heat from a fire. By cooling down the flames and the surrounding materials, it effectively reduces the temperature below the ignition point needed for combustion to continue. While water can also create steam that may displace oxygen momentarily, its primary function in firefighting is to remove heat.
Therefore, the best response is:
only heat.