A gateway serves as a link between two computer systems or programs. This way they can share information with each other.