This requires the skills of research, fact gathering, deductive and inductive reasoning, and critical analysis. You must also be able to distance yourself from the heat of an argument in order to bring reason to a dispute. These skills are important for whatever career you might happen to pursue, but they are central to the role of a lawyer. Let's examine what course of study or major you might pursue as an undergraduate student. Again, law schools do not require any particular courses or majors as a prerequisite for admission.
Studies show that there is no correlation between undergraduate major and success in law school.
That means that a law school cannot predict that history majors will do better than chemical engineers or that political science majors will do better than math majors. What law schools will look for is whether your course of study was a rigorous intellectual experience which demonstrates that you have the academic skills and the intelligence to pursue a legal education. However, there is usually no pre-law major or prescribed course. Often students interested in law school will form a pre-law club and engage in activities related to law. This would be something to look into after you have decided where to go to undergraduate school.