UKG interview question

Q: What is synchronization in Java?