Pornographic and piracy sites are no longer the haven for malware they once were. You might be surprised to learn that blogs (like this one) are where you are most likely to get infected.
Understanding the motivations of malware creators can help protect you from their guile. This older video addresses some of the reasons viruses find themselves onto our computers.