Manifolds with exceptional holonomy play an important role in string theory, supergravity and M-theory. It is explained how one can find the holonomy algebra of an arbitrary Riemannian or Lorentzian manifold. Using the de Rham and Wu decompositions, this problem is reduced to the case of locally indecomposable manifolds. In the case of locally indecomposable Riemannian manifolds, it is known that the holonomy algebra can be found from the analysis of special geometric structures on the manifold. If the holonomy algebra g⊂so(1,n-1)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{g}\subset\mathfrak{so}(1,n-1)}$$\end{document} of a locally indecomposable Lorentzian manifold (M, g) of dimension n is different from so(1,n-1)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{so}(1,n-1)}$$\end{document}, then it is contained in the similitude algebra sim(n-2)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{sim}(n-2)}$$\end{document}. There are four types of such holonomy algebras. Criterion to find the type of g\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{g}}$$\end{document} is given, and special geometric structures corresponding to each type are described. To each g\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{g}}$$\end{document} there is a canonically associated subalgebra h⊂so(n-2)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{h}
\subset\mathfrak{so}(n-2)}$$\end{document}. An algorithm to find h\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$${\mathfrak{h}}$$\end{document} is provided.