Question d’entretien chez Asurion

Explain what does the synchronized block in java do