Complex sentence: Homosexuality was scarcely understood at all by religious heterosexual society, and it was considered an illness or disease and being homosexual was considered a "sin".
Split into simpler sentences: Homosexuality was scarcely understood at all by religious heterosexual society. It was considered an illness or disease and being homosexual was considered a "sin".