To construct confidence interval for the mean, we often use quantiles of standardized sample mean distribution. Here, I include a list of cases where I’d use quantiles of t-distribution versus quantiles of normal distribution for that purpose.
Note: the below text could be directly translated to answer when to use t-test versus z-test in testing hypothesis about the mean parameter.