Tadalafil inhibits the PDE5 enzyme, which results in increased levels of cyclic guanosine monophosphate (cGMP). cGMP causes relaxation of smooth muscles in the blood vessels, leading to increased blood flow to the penis. This process facilitates an erection during sexual arousal.