what is the difference between but and yet?
You use but to introduce something which contrasts with what you have just said. You use yet to introduce a fact which is rather surprising after the previous fact you have just mentioned. It is also to be noted that though both these words carry almost the same meaning, yet is a little more formal than but.