The most general definition of a manifold is that of a topological manifold. Now these are defined as Hausdorff and second countable topological spaces that are locally Euclidean.
Now if we drop second countability and Hausdorff condition from the definition of a topological manifold we get what is called a locally Euclidean space. Why don't we use this as a definition of a manifold? For two reasons.
First, given that Euclidean spaces are Hausdorff, we can hope that the Hausdorff property of the Euclidean space is transferred to a locally Euclidean space. But this isn't the case by the counterexample of the line with two origins. This is locally Euclidean but is not Hausdorff. Thus motivates introducing the Hausdorff condition.
Another pathological example is the long line. We first build the long ray by taking the first uncountable ordinal ##\omega_1## and inserting the interval ##(0,1]## in between every two numbers in this ordinal. We then glue two long rays together and this yields the long line. This is again locally Euclidean but we don't want to count this a manifold as it is infinitely longer than the real line. To discount this we assume the second axiom - that it is second countable. This means that its topology has a countable base.
Thus a topological manifold is a second countable and Hausdorff locally Euclidean space.
I hope this helps.