The duration of infection refers to the period during which an individual is infected with a pathogen and can potentially transmit it to others. This duration can vary significantly depending on the pathogen, the host's immune response, and other factors. Understanding the duration of infection is crucial for controlling the spread of diseases and implementing effective public health measures.