Hacked website SEO spam is content an attacker adds to your site to rank their own pages: casino, pharmacy, replica goods or auto-generated Japanese pages. The attacker uses your domain's trust, and Google can label your results, warn visitors or remove pages. Often the owner sees a normal site, because the spam is shown only to Googlebot or to visitors arriving from Google.
These are the places it shows up: