It is particularly effective in dealing with spasmodic coughs and viscous mucus