In general, in definition of manifold we have supposed the topological space is Hausdorff and second countable. Some books also explained that there is no need to suppose these two conditions. The example is also present that non-Hausdorff manifold as "the line with two origin". Then what problem will occur in higher dimensional manifolds if we suppose non-Hausdorff and non-second countable topological space.
Also, why we are taking topological space in the definition of manifold. If we take a general space then what problem will occur?