Spam mostly refers to an unwanted email, usually as a means of selling products or services to you. Phishing is a technique that aims at stealing your login credentials and other personal data. Spam emails can employ the phishing technique, luring you into giving in your credentials and taking over your account.