Chemistry is a subject that fascinates both students and researchers because it explains how matter interacts,…