The pattern of romantic and/or sexual attraction to people of the same gender, a different gender, or multiple genders.