Prove that every graph in which each vertex has degree at least 2 must contain a cycle.
I know that a vertex is a node and the only way for it to have a cycle is that when there are three vertices and three edges and that the shape is of a triangle. However I dont know how to prove it.
Thanks in advance