Tadalafil, the active ingredient in Tadasoft 20 mg, works by inhibiting the enzyme PDE5. This inhibition leads to increased levels of cyclic guanosine monophosphate (cGMP), relaxing the smooth muscles of the blood vessels in the penis, allowing increased blood flow and facilitating an erection.