+11  A: 

Vertices are the dots, edges are the lines. Hence cities and roads.

I'm not sure what confuses you, but in general graphs are indeed used to model connections between objects.

If you have a bunch of objects (vertices) that may be "connected" to one another, a Graph would be the high level data structure to maintain it. I'm saying "high level" because in practice you will probably need supporting data structures to maintain a graph in memory/database/file: matrices, lists of links, many-to-many tables etc.

If the "direction" is not important, like in the case of the plot above (i.e. all roads are bidirectional), you have an "undirected graph". If the connection direction does have an importance (for example if there are unidirectional roads between cities), you'll have a "directed graph", where every edge is actually an "arrow", pointing at a certain direction.

If you're very new to this, I recommend reading the relevant Wikipedia entry. For some "real" studying, I recommend Cormen et al's Introduction to Algorithms, the book I studied from, which is in my opinion one of the best computer science books ever written.

Roee Adler
Rax, thanks for that explanation! English is not my native; I get confused sometimes because of the wrong notions and meanings I carried ever since I started learning. I was under the impression that an edge is the point of intersection of two lines, and vertices are the lines.
artknish
@vito: happy to help, I'm very familiar with language barriers...
Roee Adler
+3  A: 

Vertices are the nodes of the graph. Edges are the arcs that connect pairs of nodes.

cedrou
+1  A: 

if u count every line u see,thats the vertices.edges are the corners[eg-a sphere has no corners and no vertices but has i face.if u wanna know about all the properties of 3D shapes search 3D shapes on your computer.u will get more explanation.

samia