Located in the middle of the Indian Ocean, the Maldives is a chain of 1,000 islands (200 are inhabited, and only 5 have any substantial population). The country is actually just a series of coral atolls that are barely above sea level. During the 2004 Tsunami, many of these islands were completely washed away. The government has built flood barriers to help lessen the impact of any future tsunamis.
Since airline reservation requests are often made by city-pair (such as "show me flights from Chicago to Düsseldorf"), an airline that can codeshare with another airline for a variety of routes might be able to be listed as indeed offering a Chicago–Düsseldorf flight. The passenger is advised however, that airline no. 1 operates the flight from say Chicago to Amsterdam, and airline no. 2 operates the continuing flight (on a different airplane, sometimes from another terminal) to Düsseldorf. Thus the primary rationale for code sharing is to expand one's service offerings in city-pair terms to increase sales.