What is a certificate of habitability (certificato di agibilità)? Why is it essential from a legal point of view when buying or selling property in Italy?

Please download the document from here.