Hi, Regarding the theme of the jam.
It is in the light mechanic. Using the light makes it easier to collect the gems but them makes the enemies more aggressive (In theory if the ai works) So it makes it easier to complete your task but your chances of dying go up