〜ではない・〜ではありません: is not (after a noun or na-adjective); ではありません = polite
Noun / na-adjective + ではない (plain) · ではありません (polite) · ではなかった (was not) · ではありませんでした (polite past).
This is the negative of だ / です. Here で is a form of “to be” (である), so it does not mean “at / by”, and は adds a light contrast. In conversation では shortens to じゃ: じゃない, じゃありません, じゃなかった. Do not confuse it with place + では (日本では “in Japan”), which is followed by a statement, not by ない. With ばかり it means “not all / not only” (いいことばかりではない “it’s not all good”); with わけ, “it does not mean that” (わけではない). The same で appears in 〜だけでなく / 〜ではなく / 〜でなく "not (only) X, but": 本だけでなく = "not only books". The same で appears in 〜だけでなく / 〜ではなく / 〜でなく "not (only) X, but": 本だけでなく = "not only books". The same で appears in 〜だけでなく / 〜ではなく / 〜でなく "not (only) X, but": 本だけでなく = "not only books". The same で appears in 〜だけでなく / 〜ではなく / 〜でなく "not (only) X, but": 本だけでなく = "not only books".
Examples
ここは駅ではありません。
This is not the station.
私は学生ではない。
I am not a student.
昨日は休みではありませんでした。
Yesterday was not a day off.
この仕事は簡単ではなかった。
This job was not easy.