Prelims, or preliminary exams, are typically taken at the end of the school year in Scotland and are used to assess students' progress and help them prepare for their final exams. While your grades on the prelims may be taken into consideration when you apply to university or other post-secondary programs, they are not typically the only factor that is considered.
If you're interested in studying Law at university, it's important to focus on doing your best in your final exams, known as National 5 exams in Scotland. These exams are typically more important than the prelims when it comes to university admissions, as they are the final assessment of your knowledge and skills in a particular subject.
It's also a good idea to start thinking about your university and career goals as early as possible, and to work on building a strong foundation of skills and knowledge that will help you to succeed. This might include taking relevant courses, participating in extracurricular activities, and seeking out opportunities for personal and professional development.
If you're concerned about your grades on the prelims, it might be helpful to talk to your teacher or a school counsellor about your concerns and see if they can offer any guidance or support. They may be able to suggest strategies for improving your performance on the final exams or help you to explore other options if you're not able to meet the requirements for your desired program of study.