Somebody has to set up the joke so the funny guy can deliver the punchline. That’s the Straight Man. He rarely gets the funny lines, but has to have impeccable timing and delivery so that the comic (the other half of a comedy duo) can hit it out of the park.

Source: Straight Man – TV Tropes