In his "Classification of (n-1)-connected 2n-dimensional manifolds and the discovery of exotic spheres", Milnor observes that since his exotic 7-spheres admit a Morse function with only two critical points, they are diffeomorphic to two 7-disks glued along a diffeomorphism $g : S^6 \to S^6$, which can't be isotopic to the identity due to the fact the result can't be diffeomorphic to $S^7$ (here I suppose Milnor forgot to comment that $g$ preserves orientation).
How far does this relationship go in general? If I take an orientation-preserving diffeomorphism $g : S^n \to S^n$ which is not isotopic to the identity, and construct a topological sphere by gluing two copies of $D^{n + 1}$ along $g$, will that sphere be exotic? Can every exotic sphere be obtained in this way?
Look under "Twisted Spheres" in the Wikipedia article: https://en.wikipedia.org/wiki/Exotic_sphere. For n>6, all diffeomorphisms not isotopic to the identity give an exotic sphere. Edit: As Mike Miller points out and the article as well, all exotic spheres are thus obtainable.