Why is it important to know the dimensions of two matrices before multiplying them?

Why is it important to know the dimensions of two matrices before multiplying them?