These are both used to indicate transfer functions of a network. The
convention is that is used to mean a generic transfer
function (could describe any network) whereas
is used to
refer to the closed-loop gain of an amplifying network with feedback.