der Tank
tank
A container for storing liquids or gases, especially for the fuel in a vehicle.
Ich muss an der nächsten Tankstelle anhalten, der Tank ist fast leer.
I have to stop at the next gas station; the tank is almost empty.

tank
Loading your saved state.
tank
A container for storing liquids or gases, especially for the fuel in a vehicle.
Ich muss an der nächsten Tankstelle anhalten, der Tank ist fast leer.
I have to stop at the next gas station; the tank is almost empty.

You can recognize which meaning is intended from the context. If it is about vehicles, gasoline, or liquids, the container (m01) is meant. In the context of the military, war, or soldiers, the combat vehicle (m02) is meant.
Der Tank meines Motorrads fasst nur 15 Liter.
The tank of my motorcycle holds only 15 liters.
In connection with vehicles, 'Tank' (tank) is often used with the verbs 'tanken' (to refuel) or 'füllen' (to fill). Typical adjectives are 'leer' (empty) or 'voll' (full).
Können wir bitte anhalten? Mein Tank ist fast leer.
Can we please stop? My tank is almost empty.
The very common verb 'tanken' is derived from the noun 'der Tank' (the tank). It means to put fuel into the tank of a vehicle.
Ich muss noch schnell tanken, bevor wir auf die Autobahn fahren.
I still need to refuel quickly before we get on the highway.
bin / ton
'die Tonne' and 'der Tank' can both be containers for liquids or other substances. 'Tonne' more often means a simple, large container, often cylindrical and not especially technical. 'Tank' is used mainly for a fixed container in vehicles, machines, or systems, for example for gasoline, water, or gas. The words can be confused because both can hold something. When it is about fuel or technology, 'Tank' is more precise; for a simple large container, 'Tonne' fits better.

Vor der langen Fahrt füllt mein Kollege den Tank noch einmal voll.
Before the long drive, my colleague fills up the tank once more.
Im Garten steht eine große Tonne für Regenwasser.
There is a large barrel for rainwater in the garden.