What’s the difference between a virtual terminal and a payment gateway?

A virtual terminal is utilized by sellers to process payments manually, whereas, a payment gateway automatically processes customers’ transactions from an eCommerce website.