Complex sentence: It is close to both Malmö and the Oresund Bridge which connects Sweden to Denmark, hence the community functions as a suburb to both Copenhagen and Malmö.
Split into simpler sentences: It is close to both Malmö and the Oresund Bridge which connects Sweden to Denmark. As such, the community functions as a suburb to both Copenhagen and Malmö.