What were the main points of the Supreme Court’s decision in Marbury v. Madison? How did the decision relate to the system of checks and balances?

Please atleast attempt to give me a good answer btw.