To burn the midnight oil - this is an idiomatic expression that means to stay up late either working or studying.
Example:
I have to pass the test tomorrow, so tonight I will be burning the midnight oil.
Photo credit:
Exhausted - A man working late © Cecilia Lim H M - Shutterstock.com