What is but?

But is a coordinating conjunction used to connect two clauses, phrases, or words of contrasting ideas. It signals a contrast, exception, or qualification. Here's a breakdown: