Relevant RAE definitions are:
- Lata: Envase hecho de hojalata (can done bymade of tin)
- Bote: Recipiente pequeño, comúnmente cilíndrico, que sirve para guardar tanto líquidos como objetos. (small can, often cylindrical, it's used for store liquidsstoring liquids and objects asswellas well)
So, Lata is a metal can, often used infor drinks.
And some food:
And the bote is a can done bymade of other materials. For example