A quantum graph is a graph equipped with a self-adjoint differential or pseudo-differential Hamiltonian. Such graphs have been studied recently in relation to some problems of mathematics, physics and chemistry. The paper has a survey nature and is devoted to the description of some basic notions concerning quantum graphs, including the boundary conditions, self-adjointness, quadratic forms, and relations between quantum and combinatorial graph models.