Molecules consist of atoms that are connected by bonds. In mathematics, graph theory deals with points (vertices) that are connected by edges. This is a direct parallel with the situation in chemistry, and graph theory can be very helpful to the chemist.