In this work we introduce contact Hamiltonian mechanics, an extension of symplectic Hamiltonian mechanics, and show that it is a natural candidate for a geometric description of non-dissipative and dissipative systems. For this purpose we review in detail the major features of standard symplectic Hamiltonian dynamics and show that all of them can be generalized to the contact case. (Alessandro Bravetti), hans@ciencias.unam.mx (Hans Cruz), diego.tapias@nucleares.unam.mx (Diego Tapias) 4 Conclusions and perspectives 29 Appendix A Invariants for the damped parametric oscillator 32 Appendix B Equivalence between the contact Hamilton-Jacobi equation and the contact Hamiltonian equations 34