The correct option is B vibrating
Sound is produced by the vibration of any object in a medium. If the vibration is enough for humans to percieve and the vibration is done within a medium around, it will produce sound. If the vibrating body are in space, they will not produce sound because there is no medium present.