-지만 can be attached to a verb or adjective stem, connecting 2 sentences which are in contrast, like ‘but’.
한국말 공부는 어렵지만 재미있어요
Studying Korean is difficult but interesting.
저녁을 먹었지만 배가 고파요.
I ate dinner but I’m still hungry.
오늘 춥지만 시원해요.
Today is cold but refreshing.