The Centers for Disease Control and Prevention (CDC) is primarily responsible for tracking, monitoring, and preventing the spread of infectious diseases, as well as providing public health guidelines and information to the public and healthcare professionals.