The aim of this paper is to show that it makes sense to write the continuity equation on a metric measure space and that absolutely continuous curves w.r.t. the distance can be completely characterized as solutions of the continuity equation itself, provided we impose the condition for every and some C > 0.