Relevant RAE definitions are:
- Lata: Envase hecho de hojalata (can done by 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 liquids and objects asswell)
So, Lata is a metal can, often used in drinks
And some food:
And the bote is a can done by other materials. For example