Before sleeping - Sleep of at least seven to nine hours is required for an average individual. But today in…