Team penning is a western equestrian sport that evolved from the common ranch work of separating cattle into pens for branding, doctoring, or transport.