A compound such as water will take the form of a solid, a liquid, or a gas, depending upon the temperature.
(A compound such as water; will take; the form of a solid, a liquid, or a gas) (a liquid, or a gas; depending; upon the temperature)
A compound such as water a liquid, or a gas
will take depending
the form of a solid, a liquid, or a gas
upon the temperature