Questions & Answers about Mi aĉetas freŝajn tomatojn kaj cepojn por la vespermanĝo.
The -n ending marks the direct object in Esperanto.
In this sentence, the thing being bought is fresh tomatoes and onions, so those words are the direct objects of aĉetas (buy/am buying).
- tomatoj = tomatoes
- tomatojn = tomatoes as a direct object
- cepoj = onions
- cepojn = onions as a direct object
The adjective also matches the noun, so:
- freŝaj tomatoj = fresh tomatoes
- freŝajn tomatojn = fresh tomatoes as a direct object
Since freŝajn describes the object, it also takes -n.
The ending -j marks the plural.
So:
- tomato = tomato
- tomatoj = tomatoes
and
- cepo = onion
- cepoj = onions
When a noun is both plural and a direct object, it gets both endings:
- -j for plural
- -n for direct object
So:
- tomatojn = tomatoes
- cepojn = onions
The adjective must match too:
- freŝajn = fresh, plural, direct object