Which statement best explains why silver nitrate (AgNO3) is classified as a compound?​

A. Silver nitrate contains a metal.​

B. Silver nitrate can react with copper.​

C. Silver nitrate forms when three elements chemically combining.​

D. Silver nitrate forms a solution when mixed with water.​