Godflesh 0 Light Poster

How does Linux know what type of category a process belong to?
How does the priority system in linux work with "NON" realtime tasks/processes?