Complex sentence: Like the geisha tradition in Japan, their main purpose was to professionally entertain their guests, and while sex was often incidental, it was not assured contractually.
Split into simpler sentences: Like the geisha tradition in Japan, their main purpose was to professionally entertain their guests. While sex was often incidental, it was not assured contractually.