A vaporstat is a pressure control device used in steam heating systems to regulate the pressure of steam in the system. It helps maintain proper pressure levels to ensure efficient and safe operation of the system, preventing pressure from getting too high or too low.