That’s the hippo from the tikzlings package with a thought bubble and a toy lightsaber serving as a flagpole for the flag of his homeland Malawi, done with the worldflags package.

figure

\documentclass[tikz,border=10pt]{standalone}
\usepackage{tikzlings}
\usepackage{worldflags}
\begin{document}
\begin{tikzpicture}
  \hippo[body=brown!60!black,
    lightsaber=brown,
    think={\textsf{The end}}]
  \pic (mw) [country=MW,hang=20,rotate=-30,scale=0.5] at (1.02,1.1) {worldflag};
\end{tikzpicture}
\end{document}

This example is from Chapter 15, Having Fun with TikZ, from the book LaTeX Graphics with TikZ. Have a look at the text for a thorough explanation and more. You can browse all examples by chapter here on the website. Check the overview and the website menu at the top (left) for more resources.

You can click the "Run LaTeX now" button below the code to compile the example and see it as a PDF picture; you can also edit the code and (re)compile.