Musical accompaniment refers to the background music that supports and enhances the main melody or vocals in a piece, providing depth and emotional context. It can range from simple chords played on a piano to complex orchestral arrangements, depending on the genre and the desired effect.