See WhatIsCovariance and ContraVsCoVariance.