Let $G=(V,E)$ be a simple undirected graph, where $V$ is the vertex set and $E$ the edge set. Let $|V|\leq|E|$. I need to prove that $G$ has a simple cycle. My approach was - assume $G$ has no simple cycles. If it's connected, that it's a tree, and then $|E|=|V|-1$, and that contradicts the assumption $|V|\leq|E|$. However I can't find any contradiction to the assumption if G has no simple cycles and isn't connected. Can you give me a hint?
Note: I'm only just beginning graph theory - we haven't learn Hamiltonian or Eulerian graphs, or isomorphisms, or loops. All we know are degrees, paths, cycles, trees, subgraphs and components and several simple theorems about them.