을 하고 있지만

is doing … but

→ 을
phrase Common #3,637
is doing … but Used after a noun ending in a consonant; 을 marks the noun as the object of 하다 (“do”).
KO: 운동을 하고 있지만 피곤해요.
EN: I'm exercising, but I'm tired.