This book establishes the foundations of the theory of bounded and unbounded weighted composition operators in L²-spaces. It develops the theory in full generality, meaning that the weighted composition operators under consideration are not regarded as products of multiplication and composition operators. A variety of seminormality properties are characterized and the first-ever criteria for subnormality of unbounded weighted composition operators is provided. The subtle interplay between the classical moment problem, graph theory and the injectivity problem is revealed and there is an investigation of the relationships between weighted composition operators and the corresponding multiplication and composition operators. The optimality of the obtained results is illustrated by a variety of examples, including those of discrete and continuous types. The book is primarily aimed at researchers in single or multivariable operator theory.