Dear student,
1 cubic meter is 1×1×1 meter.
A cube. It has units m3.
A liter is liquid amount measurement.
1 liter of milk, 1 liter of water, etc.
Here 1m3 = 1000 liters
It means that 1000 liters of liquid will take exactly 1 cubic meter of space.
Regards.