Recent results on periodic orbits are presented and it is shown that the periodic orbits can be used in the study of planetary systems and triple or multiple stellar systems. Triple stellar systems are stable even for close approaches of the three components. Also stable triple systems exist with nearly zero angular momentum. For the planetary systems a global view is obtained from which it is clear which configurations are stable or unstable and also what factors affect the stability. Also, the relation between resonance and instability is studied by making use of periodic orbits.