Harry Potter named his middle child Albus Severus Potter but some fans have wondered why he paid tribute to Snape.
JK Rowling has been clearing a few things up on social media.
She explained that it was done "in forgiveness and gratitude" because Snape died for Potter out of love for Harry's mum Lily.
Albus Severus Potter will be the focus of a new play called The Cursed Child next year.
The play set in the wizarding world will begin 19 years later than the books.
Severus Snape was Harry's most hated teacher and went to school with his parents.
He's surrounded by mystery over whether he's on the side of the Order of the Phoenix or Lord Voldemort.
JK Rowling tweeted Snape "died to save the wizarding world."
She went on: "In honouring Snape, Harry hoped in his heart that he too would be forgiven. The deaths at the Battle of Hogwarts would haunt Harry forever."