sexual orientation
Formal term used in legal, medical, and social contexts. In everyday conversation, people may use simpler expressions like 好きになる相手の性別.
Discrimination based on sexual orientation is unacceptable.
This law protects all people regardless of sexual orientation.