What kind of attachments can contain viruses?
Basically, anything that is executable (able to run). You’re generally safe with picture files, text files, and the like. However, it still pays to scan first.
Here is a (very) short list of the most common to watch out for: