Among the invalidators of fasting: the intentional ejaculation of semen directly, meaning: the emission of semen by direct path of desire, and that is because fasting is abandoning the things that break the fast, which includes the meaning of abstaining from the sexual desires of the abdomen and vulva. As for the emission of semen through a wet dream, i.e. during sleep; It does not invalidate the fast.