but

conjunction
  1. Used to introduce a phrase or clause contrasting with what has already been mentioned. conjunction
    She was tired, but she decided to continue working.
    I want to go to the party, but I have to study for my exams.
  2. Used to indicate the impossibility of anything other than what is being stated. preposition
    There is nothing but sand in the desert.
    He did nothing but complain all day.
  3. Except; apart from; other than. preposition
    Everyone but John was present at the meeting.
    I would have called, but I lost my phone.
  4. An objection or argument against something. noun
    He had no buts about joining the team.
    There are always buts when it comes to making big decisions.
  5. Merely; only. adverb
    He is but a child.
    It was but a small error.