Secondary consumers eat primary consumers. Tertiary consumers eat secondary consumers. Quaternary consumers eat tertiary consumers. Sometimes an organism may fit into more than one category and food webs can be very complex.
For further information you can visit: