Cameos add humor and surprise to films, focusing on quick comedic moments instead of extended scenes or roles.
Famous actors like Matt Damon and Tom Cruise have made memorable cameos that surprise and delight audiences.
Sometimes the presence of a celebrity in an unexpected role is enough to make a scene hilarious, as seen with Liam Neeson buying Trix cereal in Ted 2.
Cameos can also be self-aware and reference an actor's previous roles, such as Charlton Heston playing himself in Austin Powers in Goldmember.
The Muppets franchise is known for its numerous and star-studded cameos, adding to the fun and nostalgia of their films.