Force-free magnetic fields and Beltrami flows, which are selenoidal vector fields and satisfy the condition that the field vector is everywhere parallel to its curl, have complex topological structures and usually show chaotic behavior. The lines of force are determined by the equations of a 3-D (dimensional) dynamical system. In the integrable case, all lines of force he on some families of tori. If the integrable solution undergoes a small perturbation, most of the original tori still exist but undergo a slight distortion (KAM tori). Near the original heteroclinic cycles emerges a chaotic layer. By superposition of the basic solutions of force-free magnetic fields one can get very complicated pictures: a single line of force could be spac...