The benefits of XML are as follows:
• Simplicity: XML is simple to read and understand.
• Availability: XML can be created using any text editor.
• Flexibility: XML doesn’t have any fixed tags, hence user-defined tags can also be used.