prep.
Everyone went to the party but me.
conj.
I wanted to go for a walk, but it started to rain.
adv.
He is but a child, still learning about the world.