Quantiphi interview question

Difference between type of gateways?