It's a way of making a concession. It acknowledges some matter that is counter to the main point of the sentence. eg Tom is a good, if noisy, student.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.