The long and short to this question is yes and no. Confused yet? The yes part of the answer comes from the fact that any computer can get a virus; the no part comes from the fact that it is much more difficult for Macs to contract a virus. There are many reasons for this discrepancy.
To begin with, the new Apple operating systems, like Mac OS X are built based on the UNIX kernel, which has been around the longest, and is the safest operating system available. UNIX is an operating system that was developed in the 1960s by Bell Labs, and believe it or not, was used to play a game called Space Travel after being booted off of the creator’s regular systems. A kernel is another word for operating system; it is technically the first piece to load into memory during a startup. It is usually responsible for things like managing disk drives and handling memory.