Referral spam is meant to look like legitimate traffic to your site. However, it's actually fraudulent traffic that takes use of flaws within Google Analytics' tracking code. The purpose of referral spam is to bring attention to the spammer's site and to induce the site owner to visit it out of curiosity.