These are two separate problems.
In the ideal situation, you generally want the house to be fairly air tight and condition the air for (a) temperature and (b) humidity. Each of (a) and (b) are taken care of by different mechanical units: one is monitored by a thermometer and the other by an hygrometer. The latter triggers a stand alone dehumidifier:
* https://www.aprilaire.com/whole-house-products/dehumidifiers
For fresh air you have an HRV/ERV, which brings outside air (through a filter) into the house (usually to bedrooms), while at the same time blowing out stale inside air (usually taken from bathrooms and the kitchen), with the two moving through the unit so that the outgoing air tempers the incoming air:
* https://www.ecohome.net/guides/2276/choosing-between-an-hrv-...
You still have opening windows, as they're mandated for emergency fire exits.