  The interest in studying relativistic compact objects play an important role
in modern astrophysics with an aim to understand several astrophysical issues.
It is therefore natural to ask for internal structure and physical properties
of specific classes of compact star for astrophysical observable, and we obtain
a class of new relativistic solutions with anisotropic distribution of matter
for compact stars. More specifically, stellar models, described by the
anisotropic fluid, establish a relation between metric potentials and
generating a specific form of mass function are explicitly constructed within
the framework of General Relativity. New solutions that can be used to model
compact objects which adequately describe compact strange star candidates like
SMC X-1, Her X-1 and 4U 1538-52, with observational data taken from
Gangopadhyay et al. [1]. As a possible astrophysical application the obtained
solution could explain the physics of self-gravitating objects, might be useful
for strong-field regimes where data are currently inadequate.
