Complex sentence: Massages have been used for medical purposes for a very long time, and their use for erotic purposes also has a long history.
Split into simpler sentences: Massages have been used for medical purposes for a very long time. Their use for erotic purposes also has a long history.