Insomnia is a sleep disorder where people have difficulty falling asleep or staying asleep for a long period. There are two types - primary insomnia which is not associated with any health conditions, and secondary insomnia which is caused by other factors like stress, mental health issues, medications, or medical conditions. Insomnia can negatively impact people's daily functioning and is linked to higher risks of other health problems if left untreated.