The system under consideration is held at constant temperature and pressure, and is closed (no matter can come in or out). The Gibbs energy of any system is ⁠ G = U + p V − − T S ⁠ and an infinitesimal change in G, at constant temperature and pressure, yields