Both colds and flu are caused by viruses. There are different kinds of viruses and all of them are completely unrelated. Since both colds and flu affect the upper respiratory tract, they often produce similar symptoms, although in various intensities.