Google considers quite a few things as spam. The most popular ones are automatically generated doorway pages, cloaking and false redirects, keyword stuffing, hidden text or hidden links, paid links and automated linking systems.