A graph is a network of vertices connected together by edges.