What is niche and give examples?

the niche is where an animal gets it food or lives. like iguanas live in the same place but the males live in a different niche because they fish for food beyond the breakers where as females get food before the breakers