The patterns of emotional, romantic, and sexual attraction towards individuals of the same, opposite, or both sexes.