The main purpose of this paper is to make Nakayamas theorem more accessible. We give a proof of Nakayamas theorem based on the negative definiteness of intersection matrices of exceptional curves. In this paper, we treat Nakayamas theorem on algebraic varieties over any algebraically closed field of arbitrary characteristic although Nakayamas original statement is formulated for complex analytic spaces.