Containers having separate compartments isolated from one another