Using variational method, we showed the existence of infinitely many homoclinic and heteroclinic orbits. They are between two periodic neighboring minimal orbits with the same rotation number of a monotone twist map, which indicates chaotic dynamics. The result applies to geodesics on 2-dim torus as well.