Although the purposes of confidence intervals and statistical tests are different, there is a connection between two-sided tests and confidence intervals.
Stream the video without the embedded quiz questions by clicking on the video link below. Closed captions are available.
Notes on the video: Connection Between Confidence Intervals and Testing