Based on various properties, chemical compounds get classified and this becomes the nature of these compounds. Depending upon the nature,…