A large class of organic compounds known as phosphonates is composed of the elements phosphorus (che…