The study of W algebras began in 1985 in the context of two-dimensional conf- mal field theories, the aim being to explore higher-spin extensions of the Virasoro algebra. Given the simultaneous growth in the understanding of two-dimensional metric gravity inspired by analyses of string models, it was inevitable that these algebras would be applied to give analogues of putative higher-spin gravity t- ories. This book is an exposition of the past few...