Flip-flop circuit variation
Well at the beginning we have this situation:

C1 capacitor is discharged hence 0V across it and all-transistor of OFF.
But if we press the switch we momentarily connect the discharged capacitor with the Q1 gate.
But since Q1 is a P-channel MOSFET thus a low voltage at the gate Turns-ON the MOSFET.
If so, The voltage at Q1 drain jumps from 0V to +9V which Turns-ON Q2 and Q2 Turns-ON Q3.

At the same time due to voltage rise at Q1 drain from 0V to +9V  the C1 capacitors begin the charging phase via R1 and R3 (if the switch is still pressed).
Also, notice that the switch is no longer needed to be press because now the circuit is latched. Q1 opens --&gt; Q2 and now Q2 will provide a low state needed for Q1 to be open (and stays open). So, we end up with this:

C1 is fully charged by R1 to 9V and all MOSFET's are ON because Q1 and Q2 form a latch.
Now I hope that you see what will be going to happen next.

If we press the switch again (C1 is fully charged to +9V), for a very brief moment of time this 9V &quot;will appear&quot; at the Q1 gate (we momentarily connect the charged capacitor to Q1 gate). And the High state at Q1 gate will of course Turn-OFF the Q1 MOSFET and the voltage at the Q1 drain will drop imminently to around 0.2V so the Q2 will also Turn-OFF and Q3 as well. C1 will be &quot;slowly&quot; discharge via R1 and R2.
And this is the end of a very &quot;brief&quot; description.