How does the French student loan system interact with scholarships and grants?

How does the French student loan system interact with scholarships and grants?