An empathetic professor has become an internet sensation after he kindly offered to watch one of his student's children, so the single mother-of-two could finish her exam.

University of Louisville professor Dr. Daniel Krebs was photographed entertaining 28-year-old Monica Romero's children Mikayla, five, and Marcus, four, while she took her final exam for her military history class.

The Army ROTC student had previously arranged for someone to watch her children, but when her babysitter canceled at the last minute, her friend suggested that she bring them to class with her.

Best teacher: Dr. Daniel Krebs was photographed entertaining his 28-year-old student Monica Romero's children Mikayla, five, and Marcus, four, so she could take her final exam for her military history class

Touching moment: Monica's friend and fellow classmate Victoria Henry shared the heartwarming photo on Facebook, calling it one of 'the most caring gestures' of her college career

But while Dr. Krebs went the extra mile to make sure that she would be able to concentrate on her test, he sees Monica as the true hero in this story.

'A person like Monica, she's a non-commissioned officer going to school, she's a mom of two kids. I mean that's the kind of thing that's really impressive,' he told ABC News. 'Me handling her kids for 40, 45 minutes, that's not impressive.'

Although Monica's friend and fellow classmate Victoria Henry advised her to bring Mikayla and Marcus with her and have them sit on the couch in the hall, she knew her children wouldn't be able to sit still for the entire exam, and she feared she would be asked to leave.

Share this article

Beautiful family: Monica, who is a single mother, moved to Kentucky with her children from South Korea, where she had served in the Army

Monica, who is pursuing a bachelor's degree, had moved to Kentucky from South Korea, where she had served in the Army.

And while she was surprised by Dr. Kreb's touching gesture, he maintained that it it was just 'common sense' to help her out.

When Monica later went to check on her children outside, she was so moved by the heartwarming scene that she asked Victoria to snap a picture, which she couldn't help but share on social media.

'Witnessed one of the most caring gestures of my college career tonight,' Victoria captioned the image on Facebook. 'As a friend of mine was preparing to take our final exam for military history, her babysitter canceled on her.

'I suggested she just bring them and have them play on their tablet in the hall rather than skipping the exam.

Inspiring mom: The ROTC student is pursing a bachelor's degree to become an officer in the Army

Adorable children: Monica revealed that her children had so much fun playing with Dr. Krebs that they didn't want to leave

'After just a few minutes of the kids playing loudly, the professor went to the hall and simply started to play with them to keep them occupied while their mom took the final.

'Such a kind and caring act committed when the reaction could have been the complete opposite. My heart is warm tonight. Tis the season.'

In the touching snapshot, Dr. Krebs can be seen sitting on the floor next to Marcus as Mikayla is perched on his shoulders.

And while the professor admitted that he felt slightly out of his element, he ended up being a hit with Monica's kids.

'They didn't want to leave. They really just had a lot of fun,' Monica noted. 'They want to come back to class with me.'