In category theory, the notion of a projective object generalizes the notion of a projective module.
An object P{\displaystyle P} in a category C{\displaystyle {\mathcal {C}}} is projective if the hom functor
preserves epimorphisms. That is, every morphism f:P→X{\displaystyle f:P\to X} factors through every epi Y→X{\displaystyle Y\to X}.