And during his appearance, Obama had some sarcastic words for presidential hopeful Donald Trump.
As Obama discussed how to engage young people in social and political issues, Stewart asked: “I guess that after seven years, is that the advice you would then bequeath to future President Trump?”
Obama laughed and said: "I'm sure the Republicans are enjoying Mr. Trump's current dominance as the front-runner."
"Anything that makes them look less crazy,” joked Stewart.
This was Obama’s third appearance as sitting president and he touched on current issues like the Iran nuclear deal, how he copes with the media, and reflecting on the last seven years of his presidency.
He said: “The VA works better than when I came into office. Government works better than when I came into office. The economy is better than when I came into office.”
Since it was his final time with Stewart at the helm of The Daily Show, Obama joked: “I can’t believe that you are leaving before me! I am issuing a new Executive Order that Jon Stewart cannot leave the show! It’s being challenged in the courts.”
Obama concluded the 30-minute interview and told Stewart: “You have been a great gift to the country.”
Watch Below: Obama's Security Reportedly Concerned Waldorf Astoria's Suite May Be Bugged