a stove is used to cook