Esperanto Grammar - Conjunctions

Conjunctions

Basic Esperanto conjunctions are kaj (both/and), (either/or), nek (neither/nor), se (if), ĉu (whether/or), sed (but), anstataŭ (instead of), krom (besides, in addition to), kiel (like, as), ke (that). Like prepositions, they precede the phrase or clause they modify:

Mi vidis kaj lin kaj lian amikon (I saw both him and his friend)
Estis nek hele nek agrable (it was neither clear nor pleasant)
ĉu pro kaprico, ĉu pro natura lingvo-evoluo (whether by whim, or by natural language development)
Li volus, ke ni iru (he would like us to go)

However, unlike prepositions, they allow the accusative case, as in the following example from Don Harlow:

Li traktis min kiel princon (He treated me like a prince: that is, as he would treat a prince)
Li traktis min kiel princo (He treated me like a prince: that is, as a prince would treat me)

Read more about this topic:  Esperanto Grammar