WD Interview Question

How does a cherry pick works in git