"But" and "yet" both show contrast, but "yet" often implies a surprising or unexpected outcome, whereas "but" is used for straightforward opposition.