A substance placed in a container has a fixed volume and takes up the shape of the container. In which state does this substance exist?

Wouldn't that be a liquid? A solid doesn't take the shape of the container ad a gas doesn't have a fixed volume.

Gas

A substance placed in a container has a fixed volume and takes up the shape of the container. In which state does this substance exist?

The substance you are referring to is in the liquid state. In the liquid state, the substance has a fixed volume, meaning it does not change its volume easily like gases do. However, it takes up the shape of the container it is placed in. This allows it to flow and conform to the shape of the container. Examples of substances in the liquid state include water, oil, and milk. To determine the state of a substance, you can consider its physical properties, such as its ability to flow and take the shape of the container.