At its core, antivirus is just a blacklist of programs. Most bad programs are for windows, so all the effort of maintaining that blacklist are focused on windows...there aren't really any wide spread threats on Linux. There's also so many variants of Linux out there (remember, Windows updates its kernel once a service pack, Linux distros update like twice a month) that a virus would probably have trouble targeting all of them.
What Linux does have:
Software repositories, vetted by someone, so all the software in them is probably (not not guaranteed) to be safe.
and
SELinux, which is a mandatory access control system that looks at the behavior of programs, similar to what more advanced anti virus suites on windows may do. It's not installed by default on Ubuntu, since it can be a pain to set up. Instead Ubuntu uses AppArmor, which is a similar concept but not as strongly enforced.
Also, malicious content that targets browser plugins (java, adobe flash), or even the javascript engine of the browser can be cross-platform between windows, linux, mac, etc. In that case, it's best to run something like Firefox with NoScript. (although google chrome currently has the strongest protections of any browser, but javascript and browser plugins are inherently unsafe)