Tadalafil, the active ingredient in Tadact, belongs to a class of medications called phosphodiesterase type 5 (PDE5) inhibitors. It works by inhibiting the enzyme phosphodiesterase type 5, which regulates blood flow to the penis. This inhibition leads to increased blood flow to the penis during sexual stimulation, resulting in an erection.