The preliminary exam is a screening test — its marks usually do not count in the final merit.
The mains exam is the decisive stage that decides qualification and the final merit.
Prelims is normally objective; mains can be objective, descriptive or both.
Only candidates who clear prelims can appear in mains.
Check the official notification for your exam’s exact stage scheme.