The best possible flush or straight on that board.
For a flush, it is the one holding the ace. Example. On K♠ 8♠ 3♠, A♠ 5♠ is the nut flush. For a straight, J♠ T♦ on 9♣ 8♦ 7♥ is the nut straight. In pots with three or more players, someone is more likely to hold a better hand, so hands that can make the nut flush or nut straight go up in value.