The different types of infectious agents are bacteria, viruses, fungi, parasites, and prions.