  Ergotropy, as a measure for extractable work from a quantum system, has
garnered significant attention due to its relevance in quantum thermodynamics
and information processing. In this work, the dynamics of ergotropy will be
investigated in a nonequilibrium environment for both Markovian and
non-Markovian regime. In this study, both the coherent and incoherent parts of
the ergotropy will be considered. It will be shown that for a non-equilibrium
environment, the extraction of work is more efficient compared to when the
environment is in equilibrium.
