My project on expo app keep awaked when it is active. How?

I have a react native project and when it is active while I started development it doesn’t sleep then my question is why do we need the https://docs.expo.io/versions/latest/sdk/keep-awake/ is it for production mode?