Complex sentence: The Ottoman Empire had a social system based on religious affiliation and religious insignia extended to every social function.
Split into simpler sentences: The Ottoman Empire had a social system based on religious affiliation. The religious insignia extended to every social function.