Thermodynamic roles of quantum environments: from heat baths to work reservoirs | Synapse