Traditionally, godparents were informally responsible for ensuring the child's religious education was carried out, and for caring for the child should they be orphaned. Today, the word godparent might not have explicitly religious overtones.
The modern view of a godparent tends to be an individual chosen by the parents to take an interest in the child's upbringing and personal development.