Bagpipes were a musical instrument.
They consisted of a bag made of cloth with several pipes. A person who played the bagpipes was called a piper. Jamie McCrimmon was a piper. The Second Doctor said Jamie could join him, Ben and Polly in the TARDIS if he would teach the Doctor how to play the bagpipes. (TV: The Highlanders)
Angus MacRanald, proprietor of the Fox Inn in Tulloch, often played the pipes on his own premises. Sarah Jane discovered that the villagers of Tulloch regarded him as "the best piper for miles around". (TV: Terror of the Zygons)