As I mentioned in the introduction, Ethereum has three types of places to store data: storage, memory, and stack . Storage is for permanent data which stick to contract. Memory is a volatile data that exists during a function call. Stack is a stack data storage that EVM has.