So I know philosophy tries to answer all kinds of questions and from different subjects, but I have never heard of any philosopher that discusses sex. Or do they? And in that case, what kind of questions or dilemmas exist when a philosopher discusses sex?

You're in luck. We have an entire topic devoted to philosophical questions pertaining to sex. You can browse through it here:

Read another response by Alexander George
Read another response about Sex