  This paper investigates the complexity of a charged static sphere filled with
anisotropic matter in the background of energy-momentum squared gravity. For
this purpose, we evaluate the modified field and conservation equations to
determine the structure of celestial system. The mass function is calculated
through Misner-Sharp as well as Tolman mass definitions. The complexity of a
self-gravitating system depends on different factors such as anisotropic
pressure, electromagnetic field, energy density inhomogeneity, etc. We
formulate the structure scalars by the orthogonal decomposition of the Riemann
tensor to develop a complexity factor containing all vital features of the
stellar structure. The vanishing complexity condition is achieved by setting
the complexity factor equal to zero. Finally, we construct two static solutions
by utilizing the energy density of Gokhroo-Mehra solution as well as the
polytropic equation of state along with the zero complexity condition. It is
found that electromagnetic field decreases the complexity of stellar structure.
