What is the meaning of Sidekick?

An assistant to another person, especially to a superior or more important person.

In literature, theatre/theater, etc., a good foil of the protagonist, a character who helps emphasize the traits of the main character.

Source: wiktionary.org