UK Crown Dependencies (e.g.: Guernsey, Jersey and the Isle of Man), Overseas Territories (e.g.: The Falkland Islands) as well as Danish autonomous territories (Greenland and the Faroe Islands) are not part of the European Union, despite having very close links to their "home" countries. On the other hand, French Guiana is part of the European Union.
Why is this the case?