Quarantine was the main method of prevention of the black plague in Venice, and the lazzaretti served that purpose.