Complex sentence: The music of Spain has a long historymhas played an important role in the development of Western music, and has greatly influenced Latin American music.
Split into simpler sentences: The music of Spain has a long history. It has played an important role in the development of Western music, and has greatly influenced Latin American music.