To simply put it, a main dish is larger, it’s typically the primary aspect of the dinner that the other components are built around.
A side dish is served as a smaller portion and is made from food that best compliments the main. For example, a side salad.