Payment gateways use encryption and tokenization techniques to secure sensitive payment information, adhere to PCI-DSS standards, and implement fraud prevention measures like 3D Secure authentication.