As a substance is subjected to pressure and/or temperature changes, it may undergo condensation, deposition, freezing, melting, sublimation, or…