The (3+1)-dimensional Kadomtsev–Petviashvili (KP) equation is studied in this paper by constructing the Hirota bilinear form. The lump solution of the equation is obtained by bilinear form, and the conditions for the existence of the solution are obtained. The picture description of lump solution is further given. On the other hand, we also give the collision phenomena of lump solution, periodic wave solution and a single-kink soliton solution when the (3+1)-dimensional KP equation reduces to and by means of the Hirota method. The collision phenomenon is shown in the 3D plot description, the dynamic characteristics of the collision are also analyzed.