In this paper, we examine the algebraic properties of localizations of commutative rings and how localizations affect the zero-divisor graphs structure of modular rings. We also classify the zero-divisor graphs of modular rings with respect to both the diameter and girth of their resultant zero-divisor graphs