Used to indicate a range: 'from A to B' (formal/written usage).
会議は三月一日ないし三日に行われます。
The meeting will be held from March 1 to March 3.
出張は東京ないし大阪のどちらかになる予定だ。
The business trip will likely be to either Tokyo or Osaka (range/choice).
Used to mean 'or' / 'and/or' — indicates alternatives (formal/written).
本契約は甲ないし乙の署名があって初めて有効となる。
This contract becomes valid only upon the signature of Party A or Party B.
データは電子媒体ないし紙媒体で保存してください。
Please store the data on electronic media or paper media.