The law which states that a pure chemical compound, no matter how it is made,…