You can remember the meaning of 同性恋 with this easy mnemonic:
Heterosexuality and homosexuality are of the same (同) nature (性). It's one person loving (恋) another person.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.