I know that colimit preserves epimorphisms.
Consider the special case where
- The diagrams are indexed by a directed set $I$,
- We are in the category of certain algebraic structures, such as $\mathbf{Ab}, \mathbf{Ring}, \mathbf{Set}$, $\mathbf{Mod_R}$, where colimit can be explicitly constructed as the disjoint union quotient an equivalence.
- The category we are considering has free objects, i.e. the forgetful functor to $\mathbf{Set}$ has a left adjoint. In this case monomorphisms are exactly the injective maps.
In this case, it seems to me that colimit also preserves monomorphisms. Given monomorphisms $f_i: A_i\to B_i$, we show that $f: \varinjlim A\to \varinjlim B$ is a monomorphism.
If two elements $[(i,a)],[(j,b)]$ are mapped to the same class, we can find $i\le k, j\le k$ such that $[(k,a')] = [(i,a)]$ and $[(k,b')] = [(j,b)]$ where $[(k,a')]$ and $[(k,b')]$ are mapped to the same class $[(k,f_k(a') = f_k(b')]$. But since $f_k$ is injective, we must have $a' = b'$, and that $[(i,a)] = [(j,b)]$.
Is it correct? The motivation of the question comes from an exercise where I try to prove that a morphism of sheafs $\Phi:\mathscr{F}\to\mathscr{G}$ is injective on open sets $\Phi_U:\mathscr{F}(U)\to \mathscr{G}(U)$ implies that it is injective on stalks.