Let $X$ be a smooth, complex projective algebraic surface. Let $C,D$ be two nonzero effective divisors on it. Then in literature one can find the following exact sequence : $0 \to \mathcal O_D(-C) \to \mathcal O_{C+D} \to \mathcal O_C \to 0$.
I'm a bit confused regarding whether it's a short exact sequence on $X$ as they are line bundles supported on different curves.
Here my question is : in the above sequence are we taking the pushforward of these line bundles (under the inclusion map) to $X$?i.e. how one appropriately interprets this sequence?
Moreover, can we twist the above sequence by line bundles on $X$ as follows : for example can we tensor the above sequence by $\mathcal O_X(C)$ to obtain : $0 \to \mathcal O_D \to \mathcal O_{C+D}(C) \to \mathcal O_C(C) \to 0$.?
Any clarification from anyone is appreciated