Tadalista works by inhibiting an enzyme called phosphodiesterase type 5 (PDE5), which regulates blood flow in the penis.