Model API: extracting elements from Pool/Participant

I’m reading a BPM using Camunda Model API. I was able to extract elements from model but how do i know if one element belong to a Pool/Participant or a Lane, or how can I extract elements from a Pool/Participant or Lane?