Here's an example:
* I haven't finished my homework yet, but I will try to get it done before dinner.
In this sentence, "yet" connects two independent clauses: "I haven't finished my homework" and "I will try to get it done before dinner." The clauses express contrasting ideas, with the first clause stating that the homework is not finished and the second clause stating that the speaker will try to finish it.
While "yet" is usually considered a coordinating conjunction, it can also be used as an adverb to indicate that something has not happened or is not true.
For example:
* It is late, yet the sun is still shining.
In this sentence, "yet" modifies the adjective "late" and expresses a contrast between the lateness of the time and the fact that the sun is still shining.