A spam trap is a tool used by Internet Service Providers (ISPs) and anti-spam organizations to identify and block spammers. A spam trap is essentially an email address that is not used for any legitimate communication. Its sole purpose is to attract spam emails, which helps in identifying senders who are not following best practices in email marketing.