This example comes from Victor Guillemin and Alan Pollack's Differential Topology. They are trying to emphasize that just because an immersion mapping $f: X \to Y$ is injective (we're talking about the infectivity of $f$, not $df_{x}$), the image of $f$ may not necessarily be a submanifold of $Y$. They supply the following figure as an example:

I understand why this is an injective mapping but do not understand why the image would not be a manifold. The intersection is removed so I do not see where any other trouble points may lie.
The smooth map $$ F: \mathbb{R} \rightarrow \mathbb{R}^2, \quad t \mapsto F(t)= (2 \cos (t-\frac{\pi}{2}), \sin 2(t-\frac{\pi}{2}))$$ is an non-injective immersion such that $F(\mathbb{R})$ is an "eight" figure (or better, "infinity").
If you consider $F_{|_{]0, 2\pi[}}= F(\mathbb{R})$ it holds that this map is injective (removing the intersection).
Consider the smooth function $$g: \mathbb{R} \rightarrow \mathbb{R}^2, \quad t \mapsto g(t)= \pi + 2 \arctan t.$$ It holds that $G=F \circ g$ is an immersion and $$ G(\mathbb{R})= F(]0, 2\pi[) $$ (the infinity figure).
However, if you consider the topology on $ G(\mathbb{R})$ induced by $\mathbb{R}^2$, it holds that $ G(\mathbb{R})$ is compact while trivially $\mathbb{R}$ is not.
As a consequence, $G$ is an injective immersion but it is not an embedding.
(I assumed that submanifold means an embedded manifold for you. Probably we are using diffent notation. Let me know if you want further information and I hope I got your question)