Marquise Goodwin's son died in the early hours of Sunday morning after being delivered prematurely.

Goodwin scored a touchdown for the 49rs just hours later, blowing a kiss to the sky before collapsing in the end zone.

Marquise Goodwin played with a lot of heart on Sunday.

Just hours before the game, Goodwin and his wife Morgan lost their infant son due to complications after he had to be delivered prematurely.

On the field, later the same day, Goodwin broke free for an 83-yard touchdown. After beating Giants Janoris Jenkins and securing the catch, Goodwin blew a kiss to the sky before stepping into the end zone. He then fell to his knees, where his teammates surrounded him.

You can watch the emotional play below.

After the game, Goodwin shared a photo to his Instagram account, including a message that explained what had happened. He thanked all of those who sent their support to him and his wife, and asked that more prayers be sent their way.

The caption read:

"I just wanna thank those who've genuinely prayed for @morganakamomo& myself through out this pregnancy. Unfortunately we lost our baby boy due to some complications, and had to prematurely deliver him early this morning around 4am. Although we are hurt, I am grateful for the experience and grateful that God blessed me with a wife as courageous and resilient as Morgan. The pain (physically, mentally, & emotionally) that she has endured is unbelievable. Please Pray for the Goodwin family."