To say it simply, without a doubt, chemistry is basically the study of matter. It is a branch of science…