Some air purifiers come with smart and auto features for sleep mode. According to several EPA researchers, pure oxygen relaxes the mind and prevents insomnia. Therefore, even hospitals use an air purifier to ensure that their patients get proper sleep. So, sleeping with an air purifier turned on is safe and medically recommended by several professionals.