CBT-I involves several components, including sleep hygiene education, cognitive therapy, and behavioral interventions. Patients learn to establish a consistent sleep schedule, create a restful sleep environment, and challenge negative thoughts about sleep.