HTML is a hypertext which is created based on SGML. Html can be read by most browsers and can be used to design a website. Html functions include making charts, images, hyperlinks, and the like.
XML can be understood as the simplified version of SGML, especially in designing website documents. It can also be read and delivered via websites and apps.