Questions in the spectral theory of selfadjoint and normal operators acting in spaces of functions of infinitely many variables are studied in this book, and, in particular, the theory of expansions in generalized eigenfunctions of such operators. Both individual operators and arbitrary commuting families of them are considered. A theory of generalized functions of infinitely many variables is constructed. The circle of questions presented has evolved in recent years, especially in connection with problems in quantum field theory. This book will be useful to mathematicians and physicists interested in the indicated questions, as well as to graduate students and students in advanced university courses.