We equip the category of linear maps of vector spaces with a tensor product which makes it suitable for various constructions related to Leibniz algebras. In particular, a Leibniz algebra becomes a Lie object in and the universal enveloping algebra functor UL from Leibniz algebras to associative algebras factors through the category of cocommutative Hopf algebras in . This enables us to prove a Milnor–Moore type theorem for Leibniz algebras.