Link spam involves creating low-quality or irrelevant links solely to manipulate search engine rankings, often resulting in penalties from search engines.