In this document, the exact analytical solution corresponding to the classical solution of the sine-Gordon equation was developed. In addition, solitons were studied as traveling waves that are a solution to the sine-Gordon equation, and a study of the symmetries of the system that corresponds to the description of a relativistic particle. Finally, the stability of soliton solutions was studied.