The roles of godparents vary between cultures and families. Traditionally, it was a religious function with the godparent informally responsible for a child’s religious education.
Today, it’s mostly an honorary position for a good friend or family member who can be a social and spiritual example for the child.
The expectation is that the godparent will be interested in the child’s wellbeing and give guidance if needed. But godparents have no legal rights or obligations towards their godchildren and they aren’t required to take care of them in the event of their parents’ deaths.