Spam refers to any email messages that are unwanted and not solicited by the recipient. It is considered junk mail. Spam can also refer to any comments or messages sent in bulk and different digital media, repeatedly advertising links to products or services. Some spam messages are more dangerous and contain harmful content or links used for phishing attempts and hacking.