If an object occupies space and has mass then it's a matter but if it is the other way around, it is not a matter.
wooden box - matter
paper - matter
time - not a matter - it don't occupy any space and it don't have a mass
sunlight - not a matter - because it don't have a mass.