  The aim of the paper is to discuss the relations between the three kinds of
objects named in the title. In a sense, this is a survey of such relations;
however, some new directions are also considered. This relates, especially, to
sections 3, 4 and 5, where we consider the universal algebraic geometry. This
geometry is parallel to universal algebra.
