Whey was a component of milk.
The manufacture of cheese involved separating curds and whey from milk, a process which would take days to complete. (VOY: "Mortal Coil")