"Volume" is used to measure both liquids and solids.
"Volume" is the amount of space an object takes up, whereas "capacity" refers to the amount a container can hold.
Use this search term to find additional resources:
how to find the volume of a cylinder