The photograph shows a quarantine station built in 1897 during the outbreak of bubonic plague in Karachi, India. Since the Middle Ages, it had been customary to isolate sick people in infirmaries in order to protect the healthy population from possible infection.
Quarantine area during an outbreak of bubonic plague in Karachi, India, black-and-white photography, 1897, unknown photographer; source: Wellcome Collection, attribution 4.0 International (CC BY 4.0) https://creativecommons.org/licenses/by/4.0/deed.de