Two types of credits are traditionally used in films, television programs, and video games, all of which provide attribution to the staff involved in their productions.
Some opening credits are built around animation or production numbers of some sort (such as the James Bond films).
Closing credits, in a television program, motion picture, or video game, come at the end of a show and list all the cast and crew involved in the production.
Credits for motion pictures often include the name of any locales (i.e., cities, states, and countries if outside of the US) used to film scenes, as well as any organizations not related to the production (e.g., schools, government entities, military bases, etc.)
In the United States, screenwriting credit for motion pictures and television programs under its jurisdiction is determined by the Writers Guild of America (WGA).