diversity is used to overcome the fades.
time diversity is done by using error control codes and then interleaving so that fade at different times are not related.
when frequency selective fading is present ofdm is used or in the case of rake receivers the energy in the different multipaths are obtained and then they are combined.
mimo is using spatial diversity